Add-ons › Extensions › Tools
UserScript Converter
Converts user scripts to extensions
Description
UserScript Converter turns user JavaScript files into Opera extensions. Simply open a user script in Opera and click Install to convert the script. The converter automatically rewrites scripts to work as extensions. You can also convert scripts from your computer by opening the extension's preferences page.
UserScript Converter does the following to rewrite scripts. Please tell me if any scripts do not work after conversion:
- Rewrites all global variables so that they are still attached to the window object
- Wraps GreaseMonkey (.user.js) scripts in a DOMContentLoaded event
- Removes unnecessary anonymous functions used to hide variables
- If the script has UJS Manager style preferences, rewrites them to use extension preferences
Scripts using "with" and/or eval() are not guaranteed to work. The converter will attempt to fix code using eval(), but it will not modify variables in scopes using "with", since that would more likely break the script than fix it.
Screenshots
Download
Works with Opera 11 or later.
About this extension
| Downloads | 6,504 |
|---|---|
| Category | Tools |
| Version | 1.3.3 |
| Size | 121.1 KB |
| License | Full license text |
| Support | Support page |
| Original page | Internet Archive |
All versions
- userscript-converter-1.3.3-1.oex 121 KB (recovered copy)