Greasemonkey Manual:Installing Scripts
Greasemonkey Manual |
Using Greasemonkey |
---|
Installing Scripts |
Monkey Menu |
Getting Help |
User Script Authoring |
Editing |
Environment |
API |
About User Scripts
The purpose of Greasemonkey is to manage user scripts. User scripts allow the user to control the way they use the web, by customizing it with scripting. The Greasemonkey extension won't do any good without any scripts installed.
The first thing an eager user should do is find and install (or write!) a useful script.
- A word on finding user scripts. They may be located anywhere on the internet but you should look first at common hosts.
Installation of a script is most often done by clicking a link on a web page.
- Any file that ends in
.user.js
is a user script.
- Any file that ends in
When navigating to a URL which ends with .user.js
, Greasemonkey will trigger the installation dialog.
Note that Greasemonkey must be enabled to do so.
The Installation Dialog
When navigating to a user script, Greasemonkey will open its installation dialog instead of loading the script like a normal page. A thumbnail of this dialog is shown to the left. It displays the name and description of the script as well as the include and exclude rules and special APIs that apply.
- The Install button
This button will, of course, install the script in question. Like the Firefox extension installation dialog, this button is disabled for a few seconds to avoid the same potential security vulnerability.
- The Cancel button
This button will cancel the installation of a script.
With some scripts installed, Script Management is the next step.