A Addon/Jetpack SDK package which allows one to use user scripts within addons.
JavaScript
Latest commit cd2cc41 Oct 26, 2014 @erikvold erikvold version 0.0.4
Permalink
Failed to load latest commit information.
docs enabled type is Boolean Aug 4, 2011
examples/test GM_xhr is almost completely implemented Aug 7, 2011
lib version 0.0.3 for npm Oct 25, 2014
README.md version 0.0.3 for npm Oct 25, 2014
package.json version 0.0.4 Oct 26, 2014

README.md

userscripts Build Status

NPM NPM

About

This package contains modules which allow one to easily package user scripts within their addon using the Add-on SDK. The package can also be used to convert a user script into a add-on.

The module of particualy importance is the userscript module, which directly allows a consumer to 'create'/initialize/load user scripts.

Example

var self = require("self");
var {UserScript} = require("userscript");
exports.main = function() {
  UserScript(self.data.url("test.user.js"));
};