Add-ons › Extensions › Tools

UserScript Converter

by spadija · (26 ratings)

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

UserScript Converter
UserScript Converter
UserScript Converter

Download

Download 1.3.3

Works with Opera 11 or later.

About this extension

Downloads6,504
CategoryTools
Version1.3.3
Size121.1 KB
LicenseFull license text
SupportSupport page
Original pageInternet Archive

All versions