Skip to content

About

A Addon/Jetpack SDK package which allows one to use user scripts within addons.

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"));
};

About

A Addon/Jetpack SDK package which allows one to use user scripts within addons.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages