Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Automatic chrome extension generatorby Discipulus (Canon) |
on Mar 25, 2014 at 21:27 UTC ( [id://1079739]=CUFP: print w/replies, xml ) | 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
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.
UPDATE 2023 see a working manifest v3 working code needed since 2023: Re: [OT] migrating from scripts to service_worker in js perl generated extensions for chrome -- solved
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.
Back to
Cool Uses for Perl
|
|