https://wiki.greasespot.net/api.php?action=feedcontributions&user=Bevmorguson&feedformat=atomGreaseSpot Wiki - User contributions [en]2024-03-28T21:13:07ZUser contributionsMediaWiki 1.41.0https://wiki.greasespot.net/index.php?title=Greasemonkey_Manual:Installing_Scripts&diff=7180Greasemonkey Manual:Installing Scripts2012-10-24T08:17:38Z<p>Bevmorguson: /* About User Scripts */</p>
<hr />
<div>{{Greasemonkey Manual TOC}}<br />
<br />
== About User Scripts ==<br />
<br />
The purpose of [[Greasemonkey]] is to manage user scripts.<br />
[[User script]]s allow the ''user'' to control the way they use the web, by customizing it with scripting.<br />
The [https://addons.mozilla.org/firefox/addon/748 Greasemonkey extension] won't do any good without any scripts installed.<br />
<br />
The first thing an eager user should do is find and install ''(or write!)'' a useful script.<br />
<br />
:* A word on finding [[user script]]s. They may be located anywhere on the internet or even offline. The Greasemonkey community typically uses the general purpose user script repository site created for it at [http://userscripts.org/ http://userscripts.org]. [http://resumewriter.ws/ professional resume writer]<br />
<br />
Installation of a script is most often done by clicking a link on a web page. One may also drag-and-drop a local file into the browser window, or optionally use the menu bar [http://support.mozilla.com/en-US/kb/Menu+Reference#Open_File_ File &rarr; Open File...] dialog to open it.<br />
<br />
:* Any file that ends in '''<code>.user.js</code>''' is a valid Greasemonkey user script.<br />
<br />
When the URL of a link is clicked or otherwise navigated to ends with <code>.user.js</code>, [[Greasemonkey]] will intercept the loading file by presenting the installation dialog.<br />
Note that [[Greasemonkey]] must be [[Troubleshooting_(Users)#Greasemonkey Enabled Status|enabled]] to intercept the loading of the file.<br />
<br />
== The Installation Dialog ==<br />
<br />
When navigating to a [[user script]], Greasemonkey will open its installation dialog instead of loading the script like a normal page.<br />
A thumbnail of this dialog is shown to the left.<br />
It displays the name and description of the script, if available, as well as the [[include and exclude rules]] that apply.<br />
''Note:'' Greasemonkey must be [[Troubleshooting (Users)#Greasemonkey Enabled Status|enabled]] to install scripts.<br />
<br />
[[Image:Install-dialog.png|left|thumb|150px|GM Installation Dialog]]<br />
<br />
;* The Install button<br />
This button will, of course, install the script in question.<br />
Like the Firefox extension installation dialog, this button is disabled for a few seconds to avoid the same potential [http://www.squarefree.com/2004/07/01/race-conditions-in-security-dialogs security vulnerability].<br />
<br />
;* The Cancel button<br />
This button will cancel the installation of a script.<br />
<br />
;* The View Script Source button<br />
This button will allow viewing of the source code contained in the script.<br />
At this point, [[Greasemonkey]] has already downloaded the [[user script]] in question to display the name and other details.<br />
<br />
When a user shows the script source, it displays the temporary file that Greasemonkey has already downloaded depicted in this [[:media:View-source.png|screenshot]].<br />
In this window there is an information bar at the top similar to the Firefox extension installation security warning. <br />
Clicking the install button here will also install the script. <br />
<br />
With some scripts installed, [[Greasemonkey_Manual:Script Management|Script Management]] is the next step.</div>Bevmorgusonhttps://wiki.greasespot.net/index.php?title=Greasemonkey_Manual:Installing_Scripts&diff=7178Greasemonkey Manual:Installing Scripts2012-10-24T08:16:19Z<p>Bevmorguson: /* About User Scripts */</p>
<hr />
<div>{{Greasemonkey Manual TOC}}<br />
<br />
== About User Scripts ==<br />
<br />
The purpose of [[Greasemonkey]] is to manage user scripts.<br />
[[User script]]s allow the ''user'' to control the way they use the web, by customizing it with scripting.<br />
The [https://addons.mozilla.org/firefox/addon/748 Greasemonkey extension] won't do any good without any scripts installed.<br />
<br />
The first thing an eager user should do is find and install ''(or write!)'' a useful script.<br />
<br />
:* A word on finding [[user script]]s. They may be located anywhere on the internet or even offline. The Greasemonkey community typically uses the general purpose user script repository site created for it at [http://userscripts.org/ http://userscripts.org].<br />
<br />
Installation of a script is most often done by clicking a link on a web page. One may also drag-and-drop a local file into the browser window, or optionally use the menu bar [http://support.mozilla.com/en-US/kb/Menu+Reference#Open_File_ File &rarr; Open File...] dialog to open it.<br />
<br />
:* Any file that ends in '''<code>.user.js</code>''' is a valid Greasemonkey user script.<br />
<br />
When the URL of a link is clicked or otherwise navigated to ends with <code>.user.js</code>, [[Greasemonkey]] will intercept the loading file by presenting the installation dialog.<br />
Note that [[Greasemonkey]] must be [[Troubleshooting_(Users)#Greasemonkey Enabled Status|enabled]] to intercept the loading of the file.<br />
<br />
== The Installation Dialog ==<br />
<br />
When navigating to a [[user script]], Greasemonkey will open its installation dialog instead of loading the script like a normal page.<br />
A thumbnail of this dialog is shown to the left.<br />
It displays the name and description of the script, if available, as well as the [[include and exclude rules]] that apply.<br />
''Note:'' Greasemonkey must be [[Troubleshooting (Users)#Greasemonkey Enabled Status|enabled]] to install scripts.<br />
<br />
[[Image:Install-dialog.png|left|thumb|150px|GM Installation Dialog]]<br />
<br />
;* The Install button<br />
This button will, of course, install the script in question.<br />
Like the Firefox extension installation dialog, this button is disabled for a few seconds to avoid the same potential [http://www.squarefree.com/2004/07/01/race-conditions-in-security-dialogs security vulnerability].<br />
<br />
;* The Cancel button<br />
This button will cancel the installation of a script.<br />
<br />
;* The View Script Source button<br />
This button will allow viewing of the source code contained in the script.<br />
At this point, [[Greasemonkey]] has already downloaded the [[user script]] in question to display the name and other details.<br />
<br />
When a user shows the script source, it displays the temporary file that Greasemonkey has already downloaded depicted in this [[:media:View-source.png|screenshot]].<br />
In this window there is an information bar at the top similar to the Firefox extension installation security warning. <br />
Clicking the install button here will also install the script. <br />
<br />
With some scripts installed, [[Greasemonkey_Manual:Script Management|Script Management]] is the next step.</div>Bevmorguson