GreaseMonkey UserScript: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with "== Description == Highlights NSIS commands in Mozilla Firefox or Google Chrome. The following websites are supported: * Winamp.com forums * NSIS Sourceforge pages * Stack Ov...")
 
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Description ==
== Description ==


Highlights NSIS commands in Mozilla Firefox or Google Chrome. The following websites are supported:
Highlights NSIS commands in Mozilla Firefox or Google Chrome and links them to the scripting reference. The following websites are supported:


* Winamp.com forums
* Winamp.com forums
Line 13: Line 13:
1. Make sure you already have the [https://addons.mozilla.org/en-US/firefox/addon/greasemonkey GreaseMonkey] add-on installed<br/>
1. Make sure you already have the [https://addons.mozilla.org/en-US/firefox/addon/greasemonkey GreaseMonkey] add-on installed<br/>
2. Download '''NSIS-Linker.user.js'''<br/>
2. Download '''NSIS-Linker.user.js'''<br/>
3. Drag the downloaded file to your Firefox window or open the Add-ons window ('''Ctrl+Shift+A''' on Windows and Linux, '''⇧⌘A''' on OS X) and add the file<br/>
3. Drag the downloaded file to your Firefox window or open the Add-ons window ('''Ctrl+Shift+A''' on Windows and Linux, '''⇧⌘A''' on OS X) and add the user script<br/>
 
GreaseMonkey will automatically perform an upgrade once a new version is available!


=== Chrome ===
=== Chrome ===
1. Open the extensions window from the tool menu<br/>
1. Download '''NSIS-Linker.user.js'''<br/>
2. Drag '''NSIS-Linker.user.js''' to the window<br/>
2. Open the extensions window from the tool menu<br/>
3. Drag the downloaded file to the extensions window<br/>
 
Unfortunately, the script isn't as reliable as in Firefox. If no links are created at all, please try reloading the page.
 
=== Opera ===
1. Open the Preferences, go to ''Advanced > Content > JavaScript Options'' and specify a ''User JavaScript folder''<br/>
2. Download '''NSIS-Linker.user.js''' to that folder<br/>
 
If you run into troubles, you can also try this [http://www.howtocreate.co.uk/operaStuff/userJavaScript.html#compatibility alternative method]. As future versions of Opera will be using Google's [http://blog.chromium.org/2013/04/blink-rendering-engine-for-chromium.html Blink] engine, compatibility with this user script will like improve.
 
=== Internet Explorer ===
This script does not officially run on Internet Explorer, but you might want to look into these [https://userscripts.org/topics/114366 options] to get it running.


== Links ==
== Links ==
[https://github.com/idleberg/NSIS-Linker.user.js NSIS-Linker.user.js (GitHub)]
* [https://github.com/idleberg/NSIS-Linker.user.js NSIS-Linker.user.js] (GitHub)
 
[[Category:Syntax_Highlighting]]

Latest revision as of 12:54, 23 April 2014

Description

Highlights NSIS commands in Mozilla Firefox or Google Chrome and links them to the scripting reference. The following websites are supported:

  • Winamp.com forums
  • NSIS Sourceforge pages
  • Stack Overflow

Installation

Firefox

1. Make sure you already have the GreaseMonkey add-on installed
2. Download NSIS-Linker.user.js
3. Drag the downloaded file to your Firefox window or open the Add-ons window (Ctrl+Shift+A on Windows and Linux, ⇧⌘A on OS X) and add the user script

GreaseMonkey will automatically perform an upgrade once a new version is available!

Chrome

1. Download NSIS-Linker.user.js
2. Open the extensions window from the tool menu
3. Drag the downloaded file to the extensions window

Unfortunately, the script isn't as reliable as in Firefox. If no links are created at all, please try reloading the page.

Opera

1. Open the Preferences, go to Advanced > Content > JavaScript Options and specify a User JavaScript folder
2. Download NSIS-Linker.user.js to that folder

If you run into troubles, you can also try this alternative method. As future versions of Opera will be using Google's Blink engine, compatibility with this user script will like improve.

Internet Explorer

This script does not officially run on Internet Explorer, but you might want to look into these options to get it running.

Links