﻿<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ladysign Dev Blog &#187; clientside scripting</title>
	<atom:link href="http://www.ladysign-apps.com/blog/tag/clientside-scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ladysign-apps.com/blog</link>
	<description>Girls can code.</description>
	<lastBuildDate>Mon, 01 Feb 2010 09:44:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>GreaseMonkey for IE7</title>
		<link>http://www.ladysign-apps.com/blog/code/javascript/greasemonkey-for-ie7/</link>
		<comments>http://www.ladysign-apps.com/blog/code/javascript/greasemonkey-for-ie7/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 15:48:47 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[addon]]></category>
		<category><![CDATA[clientside scripting]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[IE7PRO]]></category>
		<category><![CDATA[iepro]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[userscript]]></category>

		<guid isPermaLink="false">http://ladysign-apps.com/blog/?p=522</guid>
		<description><![CDATA[<p><strong>Difficulty:</strong> 2 out of 5 stars</p>
<p>Today I will write only good stuff about <a href="http://www.ie7pro.com/" target="_blank">IE7Pro</a>, the ultimate add-on / plug-in for Internet Explorer 7. Cause beside the [......]</p>]]></description>
			<content:encoded><![CDATA[<p><strong>Difficulty:</strong> 2 out of 5 stars</p>
<p>Today I will write only good stuff about <a href="http://www.ie7pro.com/" target="_blank">IE7Pro</a>, 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 <a href="https://addons.mozilla.org/en-US/firefox/addon/748" target="_blank">GreaseMonkey</a> for Mozilla Firefox does! </p>
<p>And that&#8217;s a good thing. Do you remember those, crappy and dirty websites, which only work for Internet Explorer. (Goodbye Firefox, Opera and Chrome).<br />
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&#8217;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&#8217;s and tags.</p>
<p>1. Just install the plugin.<br />
2. Go the the folder where you installed IE7Pro: <strong>C:\Program Files\IEPro\userscripts\</strong><br />
and create a new file with .ieuser.js extension: <strong>myFirstUserScript.ieuser.js</strong><br />
3. Make sure your userscript contains an //==UserScript== comment, with a @nam, @namespace,  @description and @include  comment.<br />
Specially the include is needed, so Internet Explorer knows when your script should be loaded -before- the requested page is loaded.<br />
Let&#8217;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.<br />
Such a comment header can look like this:</p>
<pre class="brush: jscript;">
// ==UserScript==
// @name           myFirstUserScript
// @namespace      myFirstUserScript
// @description    My First User Script mods Ebay.com
// @include        *ebay.com*
// ==/UserScript==

//... here comes all your DOM Javascript coding.
</pre>
<p>4. Rightclick on the blue IE7Pro circle (statusbar &#8211; right bottom), and click on &#8220;Preferences (CTRL + F7) > User Scripts&#8221;.<br />
Tick &#8220;enable userscripts&#8221;.<br />
5. Press the &#8220;Reload All Scripts&#8221; button, and tick your newly created file.<br />
6. Start coding in your myFirstUserScript.ieuser.js file!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ladysign-apps.com/blog/code/javascript/greasemonkey-for-ie7/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
