|Just another Perl shrine|
Automatic chrome extension generatorby Discipulus (Curate)
|on Mar 25, 2014 at 21:27 UTC||Need Help??|
Well, I needed to add few extensions to the browser and i ended with this...
It generates a working chrome extension with only a context menu that acts as 'Search with <your search engine>'.
You'll call the script with only 2 args: a_description and a partial URL
as in extgen.pl Cpan_search http://search.cpan.org/search?query=
Then you point chrome to chrome://extensions/, check 'Developer Mode' and choose 'Load an unpacked extension' and browse to early created folder containing the extension.
Here is the code:
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.