Menu

Greasemonkey_Manual:Monkey_Menu

mmartz

Getting StartedInstalling ScriptsManaging Scripts ⬌ Monkey Menu ⬌ Creating ScriptsEnvironmentOther Useful ToolsAPI

The Monkey

Early versions of Greasemonkey provided an image of a monkey in the status bar. Clicking on the monkey would toggle the global enabled status of Greasemonkey. When enabled, the monkey is displayed in color; when disabled, it is greyed out, and no User scripts will run.

| Shortcuts | No Scripts Installed

The Menu

| User Scripts Commands

Add-on bar monkey menu

Later versions of Greasemonkey added a menu to this, and it was dubbed the monkey menu.

This menu largely mirrors that menu which is available under the Tools menu. The Manage User Scripts... menu item will open the script management interface as described earlier. The New User Script... menu item is used to write a new user script, from scratch.

It is described in more detail in the this section of this manual.

This menu provides a list of the scripts whose Script injection rules match the current page. Each script listed here functions as a checkbox control, and the scripts can be individually enabled or disabled by clicking on them here.

The monkey menu also adds a menu item to explicitly display, as well as control, the global enabled status.

Firefox 4.0.x+ users should be able to reenable it from the View → Toolbars → Add-on Bar as depicted in this screen shot:

Add-on bar monkey menu

User Script Commands

The User Script Commands... sub-menu lists the menu items for individual scripts which have been added via the GM_registerMenuCommand. The presence and/or contents (as well as the possible actions) of this sub-menu depend completely on which scripts have been installed.

It is common for this sub-menu to be unavailable and greyed out.

Shortcuts

There may be a few other "hidden" shortcuts in the monkey menu.

  • A right-click on a script in the list will fire up the text editor (see the edit button above) on the script that is clicked.

Shortcuts can be very handy for anyone who wants to save some clicks!

No Scripts Installed

It's possible for the monkey menu to show "No Scripts Installed!" even when there are scripts installed. This is an issue of semantics. The monkey menu displays only scripts that run on the currently visible tab, and this message is shown when no scripts match that criteria.

Getting StartedInstalling ScriptsManaging Scripts ⬌ Monkey Menu ⬌ Creating ScriptsEnvironmentOther Useful ToolsAPI

Notes


Related

Wiki: GM_registerMenuCommand
Wiki: Greasemonkey_Manual:API
Wiki: Greasemonkey_Manual:Creating_Scripts
Wiki: Greasemonkey_Manual:Environment
Wiki: Greasemonkey_Manual:Getting_Started
Wiki: Greasemonkey_Manual:Installing_Scripts
Wiki: Greasemonkey_Manual:Managing_Scripts
Wiki: Greasemonkey_Manual:Other_Useful_Tools
Wiki: Script_injection_rules
Wiki: User_script