Go Back   Google Chrome Forums > Google Chrome > Chrome Plugins


http://chromeplugins.org/frwrdicon.jpg
Top Tip : Click here to Boost Your PC & Chrome Browsing Speed
Reply
 
Thread Tools Display Modes
  #21  
Old 04-24-2009, 11:51 AM
Junior Member
 
Join Date: Apr 2009
Posts: 11
Send a message via AIM to blackcoil Send a message via MSN to blackcoil Send a message via Yahoo to blackcoil
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #22  
Old 04-24-2009, 12:46 PM
StevePaul's Avatar
Senior Member
 
Join Date: Mar 2009
Location: Birmingham, England
Posts: 1,411
Send a message via MSN to StevePaul
Default

That's what you get for being a SuperStar :-D
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #23  
Old 04-24-2009, 05:25 PM
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 )
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #24  
Old 04-24-2009, 06:28 PM
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #25  
Old 04-24-2009, 11:25 PM
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #26  
Old 04-25-2009, 03:02 AM
StevePaul's Avatar
Senior Member
 
Join Date: Mar 2009
Location: Birmingham, England
Posts: 1,411
Send a message via MSN to StevePaul
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #27  
Old 04-25-2009, 03:58 AM
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 ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #28  
Old 04-25-2009, 04:18 AM
Junior Member
 
Join Date: Apr 2009
Posts: 11
Send a message via AIM to blackcoil Send a message via MSN to blackcoil Send a message via Yahoo to blackcoil
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #29  
Old 04-25-2009, 04:29 AM
StevePaul's Avatar
Senior Member
 
Join Date: Mar 2009
Location: Birmingham, England
Posts: 1,411
Send a message via MSN to StevePaul
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 05:00 AM..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #30  
Old 04-25-2009, 04:59 AM
StevePaul's Avatar
Senior Member
 
Join Date: Mar 2009
Location: Birmingham, England
Posts: 1,411
Send a message via MSN to StevePaul
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Download YouTube Videos in Chrome Chrome Chrome Tips & Tricks 34 10-27-2009 03:45 PM
AdSweep.crx extension for Chrome calande Chrome Plugins 13 09-13-2009 03:27 AM
Chrome extension and ressource xml Kyrax Chrome Tech 0 04-14-2009 03:26 PM
Download Manager in Chrome? stimpe Chrome Plugins 8 03-18-2009 08:12 AM
Youtube video on MSN Messenger superp Chrome Tips & Tricks 0 12-27-2008 07:19 PM




Chrome Central - Chrome Talk - Chrome Tips and Tricks - Chrome Plugins - Chrome Themes - Chrome Tools - Bugs and Vulnerabilities - Chrome Tech - General Chat


All times are GMT. The time now is 01:10 AM.


Powered by vBulletin® Version 3.7.4 PL1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Google Chrome and Google™ is a Trademark of Google Inc
This site chromeplugins.org is not affiliated with or sponsored by Google Inc.
Thanks: Taree SEO Forum and John