Welcome guest, is this your first visit? Create Account now to join.
Page 3 of 11 FirstFirst 12345 ... LastLast
Results 21 to 30 of 108

This is a discussion on NEW YouTube Download Helper Extension within the Chrome Plugins section, part of the Google Chrome category: OK OK, I don't know why I chose to develop this as an extension in the first place. It seems ...


  1. #21
    blackcoil is offline Junior Member
    Join Date
    Apr 2009
    Posts
    13

    Default

    OK OK, I don't know why I chose to develop this as an extension in the first place. It seems extensions get no love, and everyone prefers User Scripts! :-)

    I just have to figure out the syntax differences, and I should have something by the weekend. I have a full time job, but downloading YouTube videos is something that I actually do on a daily basis, so it's important to me as well.

  2. #22
    StevePaul's Avatar
    StevePaul is offline Senior Member
    Join Date
    Mar 2009
    Location
    Birmingham, England
    Posts
    1,522

    Default

    That's what you get for being a SuperStar :-D

  3. #23
    Kyrax is offline Senior Member
    Join Date
    Apr 2009
    Location
    Qc, Canada
    Posts
    495

    Default

    Well extensions get no love right now because they don't have any unique feature. Eventually you will be able to access tabs, bookmarks.. etc. through the chrome Extension API.

    Also, there should be the equivalent of GM_XMLHttpRequest in GreaseMonkey which will allow developers to do lots of cool stuff with web pages. ( Well i know i need it in my current project )

  4. #24
    Night Ranger is offline Junior Member
    Join Date
    Apr 2009
    Posts
    2

    Default

    use --install-extension="path_to_downloaded_crx" instead of --load-extension.
    This way the crx is deployed under Chrome UserData folder and when you run chrome you only have to use --enable-extension to use all extensions located under UserData in a folder named Extensions

    The folder used under Vista
    c:\Users\NightRanger\AppData\Local\Google\Chrome\User Data\Default\Extensions\

    If you're using multiple profiles (--enable-udd-profiles) you have to install the extension for each profile you plan to use it.

    BTW I've had some extensions automatically relocated here when I downloaded the crx file ("AdSweep" and "Flash Blocker" extensions). The program prompted me if I wanted to install the just downloaded extensions.

  5. #25
    Kyrax is offline Senior Member
    Join Date
    Apr 2009
    Location
    Qc, Canada
    Posts
    495

    Default

    Yea packaged extensions are the way to go if you don't want to do a user script ( or can't )

    Sadly, since you can't interact with the UI in your extension, you can't give people the power to customize your extension. You can't even access a XML file located under chrome-extension://EXTENSION_ID/xmlfile.xml ..

    So if your extension requires no configuration, package it.
    If it needs some configuration, use a userscript.

  6. #26
    StevePaul's Avatar
    StevePaul is offline Senior Member
    Join Date
    Mar 2009
    Location
    Birmingham, England
    Posts
    1,522

    Default

    Hi Guys I'll post my query here 'cos this is where most of the activity about extensions has been and know you'll all have a visit at some time or other..

    As you know I use User Scripts quite a bit but I thought I'd try out using extensions.

    I picked an old favourite (AdSweep) and put it into my extensions folder (default Chrome location)

    I get the following error when loading Chrome

    Could not load extension from
    C:\Users\Steve\AppData\Local\Google\Chrome\Application\chrome.exe --enable-extensions --load-extension="C:\Users\Steve\AppData\Local\Google\Chrome\User Data\Default\Extensions\"
    Manifest is missing or invalid




    I tried running the the extension (AdSweep.crx) directly from within the extensions folder and it worked no problem...

    Is there something I'm missing?

  7. #27
    Kyrax is offline Senior Member
    Join Date
    Apr 2009
    Location
    Qc, Canada
    Posts
    495

    Default

    Code:
    "C:\Users\Steve\AppData\Local\Google\Chr ome\User Data\Default\Extensions\"
    Manifest is missing or invalid
    There's a space in "Chrome" in the path there, is that a mistake ?

  8. #28
    blackcoil is offline Junior Member
    Join Date
    Apr 2009
    Posts
    13

    Default

    I can't figure out what the syntax differences are between User Scripts and Extensions. Shouldn't the exact same JS run in either one?

  9. #29
    StevePaul's Avatar
    StevePaul is offline Senior Member
    Join Date
    Mar 2009
    Location
    Birmingham, England
    Posts
    1,522

    Default

    First, the space in Chrome is a problem with this page (I've seen similar instances of space insertion in other posts on this site)

    The only file in my extension folder is AdSweep.crx (downloaded from www.adsweep.org)
    Last edited by StevePaul; 04-25-2009 at 04:00 AM.

  10. #30
    StevePaul's Avatar
    StevePaul is offline Senior Member
    Join Date
    Mar 2009
    Location
    Birmingham, England
    Posts
    1,522

    Default

    On clicking open on the crx file I get a folder with the manifest.json and adsweep.js files in.

    I was under the impression that the extension would run from the crx file.

Page 3 of 11 FirstFirst 12345 ... LastLast

Similar Threads

  1. Download YouTube Videos in Chrome
    By Chrome in forum Chrome Tips & Tricks
    Replies: 71
    Last Post: 04-09-2012, 04:45 PM
  2. Download Manager in Chrome?
    By stimpe in forum Plugins Troubleshooting
    Replies: 14
    Last Post: 12-13-2011, 08:16 PM
  3. Youtube video on MSN Messenger
    By superp in forum Chrome Tips & Tricks
    Replies: 2
    Last Post: 05-05-2011, 07:56 AM
  4. AdSweep.crx extension for Chrome
    By calande in forum Chrome Plugins
    Replies: 13
    Last Post: 09-13-2009, 02:27 AM
  5. Chrome extension and ressource xml
    By Kyrax in forum Chrome Tech
    Replies: 0
    Last Post: 04-14-2009, 02:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •