<?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>Johns Blog &#187; JavaScript</title>
	<atom:link href="http://blogs.gnome.org/johncarr/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/johncarr</link>
	<description>Making your brain invert and fall out of your ear since 2007</description>
	<lastBuildDate>Tue, 11 Aug 2009 09:59:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>First bookmarklet :)</title>
		<link>http://blogs.gnome.org/johncarr/2007/10/12/first-bookmarklet/</link>
		<comments>http://blogs.gnome.org/johncarr/2007/10/12/first-bookmarklet/#comments</comments>
		<pubDate>Fri, 12 Oct 2007 18:23:14 +0000</pubDate>
		<dc:creator>John Carr</dc:creator>
				<category><![CDATA[Nerd]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Trac]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/johncarr/?p=34</guid>
		<description><![CDATA[Got somewhat tired of fighting off trac ticket spam and created my first bookmarklet to try and combat it. Now i have a button that closes a bug report in a tenth of the time it took me before   Next step is to automate it so I can close 20 at same time&#8230;
javascript: [...]]]></description>
			<content:encoded><![CDATA[<p>Got somewhat tired of fighting off trac ticket spam and created my first bookmarklet to try and combat it. Now i have a button that closes a bug report in a tenth of the time it took me before <img src='http://blogs.gnome.org/johncarr/wp-content/mu-plugins/tango-smilies/tango/face-smile.png' alt=':)' class='wp-smiley' />  Next step is to automate it so I can close 20 at same time&#8230;</p>
<p><code>javascript: (function(x) {<br />
    document.getElementById("summary").value="None";<br />
    document.getElementById("description").value="";<br />
    document.getElementById("reporter").value="";<br />
    document.getElementById("keywords").value="";<br />
    document.getElementById("cc").value="";<br />
    document.getElementById("resolve").checked=true;<br />
    document.getElementById("resolve_resolution").disabled="";<br />
    document.getElementById("resolve_resolution").value="invalid";<br />
    document.getElementById("resolve_resolution").form.submit();<br />
})()</code></p>
<p>All it does is blank out a load of fields, sets the resolution to &#8216;invalid&#8217; and submits.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/johncarr/2007/10/12/first-bookmarklet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
