https://wiki.greasespot.net/api.php?action=feedcontributions&user=189.74.147.5&feedformat=atomGreaseSpot Wiki - User contributions [en]2024-03-28T22:05:40ZUser contributionsMediaWiki 1.41.0https://wiki.greasespot.net/index.php?title=Greasemonkey_Manual:Monkey_Menu&diff=6916Greasemonkey Manual:Monkey Menu2012-02-24T14:53:32Z<p>189.74.147.5: </p>
<hr />
<div>--[[Special:Contributions/189.74.147.5|189.74.147.5]] 09:53, 24 February 2012 (EST)__NOTOC__<br />
{{Greasemonkey Manual TOC}}<br />
<br />
== The Monkey ==<br />
<br />
Early versions of [[Greasemonkey]] provided an image of a monkey in the status bar.<br />
Clicking on the monkey would toggle the global enabled status of [[Greasemonkey]].<br />
When enabled, the monkey is displayed in color; when disabled, it is greyed out, and no [[user script]]s will run.<br />
<br />
When [http://support.mozilla.com/en-US/kb/what-happened-status-bar Firefox 4 removed the status bar], Greasemonkey followed suit.<br />
Greasemonkey [[Version history#0.9.2|0.9.2]] added a toolbar button instead, and removed the status bar icon (in Firefox 4; it is still present in Firefox 3 which still has the status bar).<br />
You can read [http://wiki.greasespot.net/index.php?title=Greasemonkey_Manual:Monkey_Menu&oldid=6034 this page's history] to learn about the old status bar icon and its menu.<br />
<br />
== The Menu ==<br />
<br />
[[Image:Win7-ff4-toolbar-monkey-menu.png|center|frame|Greasemonkey's "Monkey Menu"]]<br />
<br />
As of Greasemonkey 0.9.2, the same menu is available under Tools > Greasemonkey, and attached to the toolbar icon.<br />
(Also: from the status bar icon in Firefox 3.)<br />
<br />
The <code>Enabled</code> menu item will display, as well as control, Greasemonkey's global enabled status.<br />
The <code>Manage User Scripts...</code> menu item will open the [[Greasemonkey Manual:Manage Dialog|manage dialog]] as described earlier.<br />
The <code>New User Script...</code> menu item is used to ''write'' a new user script, from scratch.<br />
It is described in more detail in the [[Greasemonkey Manual:Editing|editing]] section of this manual.<br />
<br />
This menu also provides a list of the scripts whose [[include and exclude rules]] match the current page.<br />
Clicking on any script listed here is a convenient shortcut to enable/disable exactly that script.<br />
The menu item shows a check mark next to enabled scripts, and none next to disabled scripts.<br />
Pro tip: Right click on a script in this list and your editor will be opened to the main <code>.user.js</code> file for this script.<br />
<br />
=== The Toolbar Button ===<br />
<br />
The Greasemonkey toolbar button will be inserted into your browser's navigation bar at far right once, the first time that you run Greasemonkey.<br />
You can [http://support.mozilla.com/en-US/kb/how-do-i-customize-toolbars customize the toolbar] (right click and choose "Customize") to move or remove the button as you please from this point.<br />
<br />
=== User Script Commands ===<br />
<br />
The <code>User Script Commands...</code> sub-menu lists the menu items for individual scripts which have been added via the [[GM_registerMenuCommand]] API.<br />
The presence and/or contents (as well as the possible actions) of this sub-menu depend completely on which scripts have been installed.<br />
It is common for this sub-menu to be unavailable and greyed out.</div>189.74.147.5