Difference between revisions of "Include"
m (fix spelling mistake)
m (Added categories)
|Line 57:||Line 57:|
Revision as of 16:04, 21 November 2013
Downloads and executes a remote script in a web page. Especially useful to import libraries for using them inside the Command Line.
include() is written without parameters, it prints a table with all previously specified aliases.
URL of the script to include. If set to
null, alias is removed. (optional)
Alias name for the included script. (optional for definition, required for usage)
Example of use
The simplest usage is as follow:
If you often include the same script (e.g. jqueryfying your page), you can create a handy alias:
and reuse it like below:
Note that aliases are persistent across Firefox restarts.
To list the aliases, you are offered this command:
And you are returned this table:
To remove an alias (for example, vaporjs), type this command: