The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features
See the new ForumsYou need to be logged in to post in the forums. If you do not have an account, please sign up first.
Unpacked extensions
Hello there, why do I need to zip-and-rename my extension folder every time I wanna see changes I made. This is ugly and pain in the ass.Dragging config.xml on usual pages opens it, dragging it onto extensions page does nothing.
Config.xml
<?xml version="1.0" encoding="utf-8"?>
<widget xmlns="http://www.w3.org/ns/widgets">
<name>kanoFormer</name> <description>kanoFormer - opera style!</description>
<author >Alexey "sneakyfildy" Poleff</author>
<feature name="opera:share-cookies" required="false"/>
<access origin="http://kanobu.ru/" subdomains="true"/>
<access origin="http://kanobu.ru" subdomains="true"/>
<access origin="http://www.kanobu.ru" subdomains="true"/>
</widget>
The oex zip files are for stable packages which are only cleaned up when Opera exits.
If you uninstall the extension from the Opera Extension page and then delete the oex from %LOCALAPPDATA%\Opera\Opera\widgets you should be able to drag an updated .oex file in and it load the content.
You shouldn't need to do that however, if you drag-n-drop a config.xml it'll open it as an extension in developer mode which you can reload to automatically update changes in the script etc. However config.xml only opens an extension in developer mode if you have a valid index.html to include the rest of the extension. If I use your config.xml and the following index.html it'll add the extension in developer mode without a problem for me:
index.html
If you look at the Hello World example here: http://dev.opera.com/articles/view/opera-extensions-hello-world should open in developer mode without an issue.
If you uninstall the extension from the Opera Extension page and then delete the oex from %LOCALAPPDATA%\Opera\Opera\widgets you should be able to drag an updated .oex file in and it load the content.
You shouldn't need to do that however, if you drag-n-drop a config.xml it'll open it as an extension in developer mode which you can reload to automatically update changes in the script etc. However config.xml only opens an extension in developer mode if you have a valid index.html to include the rest of the extension. If I use your config.xml and the following index.html it'll add the extension in developer mode without a problem for me:
Originally posted by sneakyfildy:
Config.xml<?xml version="1.0" encoding="utf-8"?> <widget xmlns="http://www.w3.org/ns/widgets"> <name>kanoFormer</name> <description>kanoFormer - opera style!</description> <author >Alexey "sneakyfildy" Poleff</author> <feature name="opera:share-cookies" required="false"/> <access origin="http://kanobu.ru/" subdomains="true"/> <access origin="http://kanobu.ru" subdomains="true"/> <access origin="http://www.kanobu.ru" subdomains="true"/> </widget>
index.html
<!DOCTYPE HTML> <html lang="en"> <head> <title>Test</title> </head> <body> </body> </html>
If you look at the Hello World example here: http://dev.opera.com/articles/view/opera-extensions-hello-world should open in developer mode without an issue.
Presto/2.10.289 Opera 12.00 on Windows 7 Professional 64Bit
topic can be closed.
solution is "if u've opened opera and dragged there packed extension (and then uninstalled it from there), u can't do that with its unpacked version (config.xml) until u reopen opera application"
thanks for help again, Mintsoft
solution is "if u've opened opera and dragged there packed extension (and then uninstalled it from there), u can't do that with its unpacked version (config.xml) until u reopen opera application"
thanks for help again, Mintsoft
Forums » Dev.Opera » Opera Extensions Development Discussions