<?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>Stefan&#039;s Stuff &#187; Greasemonkey</title>
	<atom:link href="http://blog.epyon-1.com/tag/greasemonkey/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.epyon-1.com</link>
	<description>Anything I feel like sharing.</description>
	<lastBuildDate>Wed, 03 Aug 2011 20:56:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-beta4-20841</generator>
	<atom:link rel='hub' href='http://blog.epyon-1.com/?pushpress=hub'/>
		<item>
		<title>I wondered why I got a spike in traffic&#8230;</title>
		<link>http://blog.epyon-1.com/2009/07/28/i-wondered-why-i-got-a-spike-in-traffic/</link>
		<comments>http://blog.epyon-1.com/2009/07/28/i-wondered-why-i-got-a-spike-in-traffic/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 02:53:32 +0000</pubDate>
		<dc:creator>Stefan Dembowski</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Greasemonkey]]></category>
		<category><![CDATA[helpful]]></category>
		<category><![CDATA[Nice]]></category>

		<guid isPermaLink="false">http://www.epyon-1.com/blog/?p=961</guid>
		<description><![CDATA[Recently, I solved a small (seriously, really small) issue with one of my favorite Greasemonkey scripts &#8220;Smilies and other tools&#8220;. Kris de Curtis was nice enough to point people to my site for the solution that I came up with.  &#8230; <a href="http://blog.epyon-1.com/2009/07/28/i-wondered-why-i-got-a-spike-in-traffic/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently, I solved a small (seriously, really small) issue with one of my favorite Greasemonkey scripts &#8220;<a href="http://www.flickr.com/groups/flickrhacks/discuss/72157594574382820/">Smilies and other tools</a>&#8220;.</p>
<p><a href="http://www.flickr.com/photos/krisdecurtis/"><img src="http://farm1.static.flickr.com/107/buddyicons/40221941@N00.jpg?1236829789#40221941@N00" alt="krisdecurtis' buddy icon" width="48" height="48" /></a> Kris de Curtis was nice enough to point people to my site for the solution that I came up <a href="http://www.epyon-1.com/blog/2009/06/21/firefox-3-5rc2-and-flickr-comment-tools/">with</a>.  On top of lending people a helping hand, he&#8217;s a good Photographer too, check out his flickr site.<br />
 <img src='http://blog.epyon-1.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.epyon-1.com/2009/07/28/i-wondered-why-i-got-a-spike-in-traffic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first Greasemonkey Script</title>
		<link>http://blog.epyon-1.com/2009/07/02/my-first-greasemonkey-script/</link>
		<comments>http://blog.epyon-1.com/2009/07/02/my-first-greasemonkey-script/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 22:15:23 +0000</pubDate>
		<dc:creator>Stefan Dembowski</dc:creator>
				<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[In Development]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[Greasemonkey]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.epyon-1.com/blog/?p=945</guid>
		<description><![CDATA[It&#8217;s been years since I did any Javascript programing, but I had a simple problem and decided to dive into it. Like many of the little programs I write, I had a &#8220;problem&#8221; and wanted to solve it. I wanted &#8230; <a href="http://blog.epyon-1.com/2009/07/02/my-first-greasemonkey-script/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-946" src="http://blog.epyon-1.com/files/2009/07/flickr_logo_gamma.gif" alt="flickr_logo_gamma" width="98" height="26" />It&#8217;s been years since I did any Javascript programing, but I had a simple problem and decided to dive into it.</p>
<p>Like many of the little programs I write, I had a &#8220;problem&#8221; and wanted to solve it.  I wanted a convenient link on the photo page to cut and paste the short URL of FLickr Images.  Look at this URL for a nice photo my wife took:</p>
<p><a href="http://www.flickr.com/photos/s_d/3665619548/" target="_self">http://www.flickr.com/photos/s_d/3665619548/</a></p>
<p>As a URL goes, not too bad, but suppose you wanted to insert the link in<br />
Twitter or Facebook? It’s a little verbose.  Wouldn’t this be better?</p>
<p><a href="http://flic.kr/p/6zVfZ3" target="_self">http://flic.kr/p/6zVfZ3</a></p>
<p>Yep, I think so too and so does Flickr:<br />
<a href="http://www.flickr.com/services/api/misc.urls.html#short" target="_self">http://www.flickr.com/services/api/misc.urls.html#short</a><br />
<a href="http://www.flickr.com/groups/api/discuss/72157616713786392/" target="_self">http://www.flickr.com/groups/api/discuss/72157616713786392/</a><br />
This thread showed how to do it: <a href="http://www.flickr.com/groups/api/discuss/72157616713786392/" target="_self">http://www.flickr.com/groups/api/discuss/72157616713786392/</a></p>
<p>The FlickrBase58 function in the script was written entirely by &#8216;Xenocryst @ Antares Scorpii&#8217;<br />
<a href="http://www.flickr.com/people/antares/" target="_self">http://www.flickr.com/people/antares/</a></p>
<p>Other than reformating, taken verbatim from link here<br />
<a href="http://www.flickr.com/groups/api/discuss/72157616713786392/72157620673064673/" target="_self">http://www.flickr.com/groups/api/discuss/72157616713786392/72157620673064673/</a></p>
<p>The Original way *I* wrote it was to retrieve the HTML, Parse it for<br />
&lt;link rev=&#8221;canonical&#8221; type=&#8221;text/html&#8221; href=&#8221;http://flic.kr/p/6zVfZ3&#8243; &gt;</p>
<p>And use that link. While fun to write, that&#8217;s the wrong way to do it so I rewrote it to use the function written by <a href="http://www.flickr.com/people/antares/" target="_self">&#8216;Xenocryst @ Antares Scorpii&#8217;</a> .  When installed on Firefox running the <a href="http://www.greasespot.net/" target="_self">Greasemonkey extension</a>, it will insert a link on the page on the right side just under &#8220;Flag your photo&#8221; that says:</p>
<p>The Flic.kr link is: <a href="http://flic.kr/p/6zVfZ3">http://flic.kr/p/6zVfZ3</a></p>
<p>This will allow you to right click the URL, copy it and paste into Twitter or Facebook.</p>
<p>Here  <a href="http://www.epyon-1.com/gm/flic.kr_link.user.js">is the script</a>.</p>
<p>NOTE: I&#8217;m pretty certain it&#8217;s harmless, but use at your own risk. It&#8217;s hardly great programming and I&#8217;m sure someone else would have done it too, if not better.</p>
<p><span style="font-weight: bold">Music I&#8217;m listening to right Now:</span><br />
&#8220;<span style="font-style: italic">Paralyzer </span>&#8221; by Finger Eleven from the &#8220;<a href="http://www.amazon.com/exec/obidos/ASIN/B000MV8CZW/stefansstuff-20" target="_blank">Them VS. You VS. Me</a>&#8221; Album.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.epyon-1.com/2009/07/02/my-first-greasemonkey-script/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Firefox 3.5rc2 and &quot;Flickr Comment Tools&quot;</title>
		<link>http://blog.epyon-1.com/2009/06/21/firefox-3-5rc2-and-flickr-comment-tools/</link>
		<comments>http://blog.epyon-1.com/2009/06/21/firefox-3-5rc2-and-flickr-comment-tools/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 02:39:36 +0000</pubDate>
		<dc:creator>Stefan Dembowski</dc:creator>
				<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[Different]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[Flickr Comment Tools]]></category>
		<category><![CDATA[Greasemonkey]]></category>

		<guid isPermaLink="false">http://www.epyon-1.com/blog/?p=937</guid>
		<description><![CDATA[&#8220;Flickr Comment Tools&#8221; is a great Greasemonkey script that I use everyday but under Firefox 3.5, it would not insert emoticons. Finally fixed it, It was a simple change that was driving me nuts&#8230; As I posted here: S.D. says: &#8230; <a href="http://blog.epyon-1.com/2009/06/21/firefox-3-5rc2-and-flickr-comment-tools/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>&#8220;<a href="http://www.ts0.com/flickrcommenttools/" target="_blank">Flickr Comment Tools</a>&#8221; is a great Greasemonkey script that I use everyday but under Firefox 3.5, it would not insert emoticons. Finally fixed it, It was a simple change that was driving me nuts&#8230; As I posted <a href="http://www.flickr.com/groups/flickrhacks/discuss/72157594574382820/page2/#comment72157620060659205" target="_blank">here</a>:</p>
<p><a name="comment72157620060659205" href="http://www.flickr.com/photos/s_d/"><img class="alignleft" src="http://farm1.static.flickr.com/4/buddyicons/74844988@N00.jpg?1159312256#74844988@N00" alt="view photostream" width="48" height="48" /></a><a href="http://www.flickr.com/photos/s_d/"> S.D.</a> <a title="Find out about upgrading to Pro" href="http://www.flickr.com/upgrade/"><img src="http://l.yimg.com/g/images/badge_pro.gif.v2" alt="Pro User" width="20" height="12" /></a> says:</p>
<p>Got it.</p>
<p>Change this:</p>
<pre class="brush: jscript; title: ; notranslate">
ifrm.contentDocument.execCommand('inserthtml',false,'&lt;a title=&quot;Smilies&quot; style=&quot;background:white !important;&quot; href=&quot;http://www.ts0.com/flickrcommenttools/&quot;&gt;&lt;img align=&quot;absmiddle&quot; style=&quot;vertical-align:middle;&quot; src=&quot;'+this.url+'&quot; border=&quot;0&quot;&gt;&lt;/a&gt;');
</pre>
<p>to:</p>
<pre class="brush: jscript; title: ; notranslate">
ifrm.contentDocument.execCommand('inserthtml',false,'&lt;a title=&quot;Smilies&quot; style=&quot;background:white !important;&quot; href=&quot;http://www.ts0.com/flickrcommenttools/&quot;&gt;&lt;img align=&quot;absmiddle&quot; style=&quot;vertical-align:middle;&quot; src=&quot;'+this.src+'&quot; border=&quot;0&quot;&gt;&lt;/a&gt;');
</pre>
<p><strong>Music I&#8217;m listening to now:</strong><br />
Nothing at the moment</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.epyon-1.com/2009/06/21/firefox-3-5rc2-and-flickr-comment-tools/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc (User agent is rejected)
Database Caching 10/21 queries in 0.006 seconds using apc
Object Caching 331/367 objects using apc

Served from: blog.epyon-1.com @ 2012-05-22 11:29:10 -->
