I have developed a Opera extension. It’s working fine. But I need to install my extension in the Windows registry or Windows file system. How can I to do this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Opera extensions aren’t installed via the registry.
You will find a XML-file called
widget.datin the folder:Each widget has an entry there. I think you’ll understand the syntax yourself, it is quite self-explaining if you have some widgets installed.
EDIT: I just found out that adding a new entry to
widget.datwill install the extension to Opera, but it will be deactivated as it hasn’t been initialised. This usually happens through the javascript/extension engine during runtime.To enable the script manually, there must be a
prefs.datin the folderwuid-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxnoted in the widget.dat, containing at least the following structure:Additionally to that, you may have to manually initialise the widget settings within the
pstoragefolder. The settings are stored as base64-encoded utf-16 key-value pair strings.So, this encoded structure:
Reads as:
(Tag names are freely interpreted 😉 I found a base64 en/decoder capable of processing utf-16 here
PS: Opera will install widgets by double-clicking them. So you could also execute Opera with the extensions path on the commandline. Opera will do everything for you then.