GreaseMonkey for IE7
Mar23Difficulty: 




Today I will write only good stuff about IE7Pro, the ultimate add-on / plug-in for Internet Explorer 7. Cause beside the handy features such as spelling checks and auto pre-fill on forms, download manager, clear privacy data option and session manager, it also contains the option to work with user scripts, just like GreaseMonkey for Mozilla Firefox does!
And that’s a good thing. Do you remember those, crappy and dirty websites, which only work for Internet Explorer. (Goodbye Firefox, Opera and Chrome).
You can easily change these websites, with your own client-side code and logics. With just a bit of DOM Javascript experience you can change (clientside) every page you want, that’s because IE7Pro (or GreaseMonkey) directly loads your script after the original page is loaded, so you can access page elements by Javascripting to page ID’s and tags.
1. Just install the plugin.
2. Go the the folder where you installed IE7Pro: C:\Program Files\IEPro\userscripts\
and create a new file with .ieuser.js extension: myFirstUserScript.ieuser.js
3. Make sure your userscript contains an //==UserScript== comment, with a @nam, @namespace, @description and @include comment.
Specially the include is needed, so Internet Explorer knows when your script should be loaded -before- the requested page is loaded.
Let’s say you want to modify Ebay.com. Then write down with the asterisk regex, that all pages within the ebay.com range should load your script first.
Such a comment header can look like this:
// ==UserScript== // @name myFirstUserScript // @namespace myFirstUserScript // @description My First User Script mods Ebay.com // @include *ebay.com* // ==/UserScript== //... here comes all your DOM Javascript coding.
4. Rightclick on the blue IE7Pro circle (statusbar – right bottom), and click on “Preferences (CTRL + F7) > User Scripts”.
Tick “enable userscripts”.
5. Press the “Reload All Scripts” button, and tick your newly created file.
6. Start coding in your myFirstUserScript.ieuser.js file!
Posted in javascript |addon, / clientside scripting, / DOM, / greasemonkey, / IE, / IE7PRO, / iepro, / javascript, / plugin, / userscript
» 2 Comments, post your comment now. »
2 Responses to “GreaseMonkey for IE7”
Greasemonkey is also available for IE: http://www.gm4ie.com/download.html













