summaryrefslogtreecommitdiff
path: root/data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/docs/userscript.md
diff options
context:
space:
mode:
authorRuben Rodriguez <ruben@gnu.org>2018-09-13 20:39:48 -0400
committerRuben Rodriguez <ruben@gnu.org>2018-09-13 21:02:13 -0400
commitd26b319fd6f98517cc3421f10bf18698b953e4d2 (patch)
treebc70c4e472a2eaf514d411dba5067d530e5bbea9 /data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/docs/userscript.md
parentc3b304c51a3386ea09527a479a883253ea35243a (diff)
Updated extensions list for v60
Diffstat (limited to 'data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/docs/userscript.md')
-rw-r--r--data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/docs/userscript.md44
1 files changed, 0 insertions, 44 deletions
diff --git a/data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/docs/userscript.md b/data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/docs/userscript.md
deleted file mode 100644
index 1bc8d4e..0000000
--- a/data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/docs/userscript.md
+++ /dev/null
@@ -1,44 +0,0 @@
-<!-- contributed by Erik Vold [erikvvold@gmail.com] -->
-
-The `userscript` module allows modules to create user scripts which automatically
-start running on windows opened after the user script is created.
-
-
-## Example ##
- var scripts = ["test.user.js"];
- var self = require("self");
- var {UserScript} = require("userscript");
- exports.main = function() {
- scripts.forEach(function(scriptName, index) {
- UserScript(self.data.url(scriptName));
- });
- };
-
-
-<api name="UserScript">
-@class
-
-The module exports a `UserScript` constructor which allowing one to create a
-user script.
-
-<api name="UserScript">
-@constructor
-Creates a user script.
-
-@param aURL {String}
- The url of a user script on the local file system, so this url can be a
- `resource:`, `file:`, or `chrome:` for example.
-</api>
-
-<api name="enabled">
-@property {Boolean}
-Allows one to get and change the status of the a user script. A disabled user
-script will not be injected in to newly opened windows.
-</api>
-
-<api name="destroy">
-@method
-The user script will no longer be injected into new windows, you will have to
-create a new user script in order to run the script again.
-</api>
-</api>