Make extension from JS
-
frouu last edited by
I have migrated from Opera 12 to new Opera and I have a simple js script which I need to use in the current browser.
Tried to integrate my script into existing .nex extension but during installation I get error "crx_magic_number_invalid". I am not a programmer and do not know how debug this error, but there must be a simple way to bring script to new Opera experience. Can someone convert js to nex or maybe give a link for extension that allow to attach javascript to all websites.I've uploaded the script here
http://www.mediafire.com/view/4rotbfzaf6pe6qd/title.jsThe goal of this script is to add site hostname to page title so you can easy search across saved web pages by address. This is very convenient for work and must have if you get used to use it.
-
frouu last edited by
Maybe someone can write a new extension. I am sure it's would be easy for script makers, just a few strings of code.
-
A Former User last edited by
I have only ever written an extension for chrome.... But my guess would be that you can't just edit an extension and then drag it to opera. You need to go to the extension manager, enable developer mode and click pack extension. Then link opera to the folder that contains the .js and manifest files and it creates a packed extension for you; with new .pem file and magic number. You can then drag and drop your freshly packed .nex file in extension manager. Possibly load it unpacked to test it first.
-
frouu last edited by
luetage,
thanks, that helped to make and install extension.Unfortunately, this script turned up not working in new Opera...