<?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>crazed &#187; greasemonkey</title>
	<atom:link href="http://www.crazed.org.uk/tag/greasemonkey/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.crazed.org.uk</link>
	<description>Musings of a web developer</description>
	<lastBuildDate>Sat, 22 Oct 2011 15:14:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>BBC iPlayer greasemonkey script update v2.0</title>
		<link>http://www.crazed.org.uk/2010/10/bbc-iplayer-greasemonkey-script-update-v2-0/</link>
		<comments>http://www.crazed.org.uk/2010/10/bbc-iplayer-greasemonkey-script-update-v2-0/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 01:48:05 +0000</pubDate>
		<dc:creator>Fai</dc:creator>
				<category><![CDATA[Net]]></category>
		<category><![CDATA[bbc]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[iplayer]]></category>

		<guid isPermaLink="false">http://www.crazed.org.uk/?p=155</guid>
		<description><![CDATA[I&#8217;ve taken the liberty to rewrite the greasemonkey script to handle the new iPlayer layout. I&#8217;ve taken a different approach to this by injecting a stylesheet inline and toggling it on. Various videos did not have the &#8216;Pop-out&#8217; player option, so I&#8217;ve added a button to enable/disable this feature in the top-right TV favourites panel. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve taken the liberty to rewrite the greasemonkey script to handle the new iPlayer layout. I&#8217;ve taken a different approach to this by injecting a stylesheet inline and toggling it on. Various videos did not have the &#8216;Pop-out&#8217; player option, so I&#8217;ve added a button to enable/disable this feature in the top-right TV favourites panel. I&#8217;m sure most of you will find this works well enough to not use the pop-out option!</p>
<p><a href="http://www.crazed.org.uk/wp-content/uploads/2010/10/iplayer-greasemonkey-2010-3.jpg" rel="lightbox[155]"><img src="http://www.crazed.org.uk/wp-content/uploads/2010/10/iplayer-greasemonkey-2010-3.jpg" alt="" title="iplayer-greasemonkey-2010-3" width="500" height="226" class="alignnone size-full wp-image-161" /></a></p>
<p>Install/update <a href="https://addons.mozilla.org/en-US/firefox/addon/748/" target="_blank">greasemonkey</a>, install/update the <a href="http://userscripts.org/scripts/show/34039">iplayer script</a>, browse to <a href="http://www.bbc.co.uk/iplayer/" target="_blank">iPlayer</a>, choose a film, toggle it on, and press F11 to set your browser to full screen <img src='http://www.crazed.org.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I have only tested this in FF3.6 but assuming xPath support is consistant among Firefox versions it should work as long as you have greasemonkey installed.</p>
<p>@See the <a href="http://www.crazed.org.uk/2008/09/bbc-iplayer-greasemonkey-script/">original post</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazed.org.uk/2010/10/bbc-iplayer-greasemonkey-script-update-v2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BBC iPlayer greasemonkey script</title>
		<link>http://www.crazed.org.uk/2008/09/bbc-iplayer-greasemonkey-script/</link>
		<comments>http://www.crazed.org.uk/2008/09/bbc-iplayer-greasemonkey-script/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 04:22:44 +0000</pubDate>
		<dc:creator>Fai</dc:creator>
				<category><![CDATA[Net]]></category>
		<category><![CDATA[bbc]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[iplayer]]></category>

		<guid isPermaLink="false">http://www.crazed.org.uk/?p=88</guid>
		<description><![CDATA[I use the BBC iPlayer. Every so often. It&#8217;s pretty good. Only problem on my system is that the iPlayer does not like staying fullscreened on one monitor if I need to use the other screen (same issue with all other flash viewers it seems). Next best alternative is to view the video in the [...]]]></description>
			<content:encoded><![CDATA[<p>I use the BBC iPlayer. Every so often. It&#8217;s pretty good.</p>
<p>Only problem on my system is that the iPlayer does not like staying fullscreened on one monitor if I need to use the other screen (same issue with all other flash viewers it seems). Next best alternative is to view the video in the pop-out window; unfortunately, the window is rather small. Rather than try to fix the fullscreen issue, I found that adjusting the flash object dimensions manually did the trick. This does get rather tedious, but luckily, I have <a href="http://www.greasespot.net/" target="_blank">Greasemonkey</a> installed.</p>
<p>Writing this was quite straightforward: this is a simple script which resizes the pop-out window to a nice size (HD-ready view of 1280&#215;720), and allows you to resize the player by resizing the window (big criticism of the default behaviour).The bulk of the code is along these lines:</p>
<p><code><br />
player.width = 1280;<br />
player.height = 834;    // 720 + 114px of iPlayer chrome<br />
resizeToPlayer(player);    //window.resizeTo(1286,916)<br />
window.addEventListener('resize', function() { resizeToWindow(player); }, true);<br />
</code></p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/748" target="_blank">Install</a> Greasemonkey if not already (Firefox only), and install this script from the <a href="http://userscripts.org/scripts/show/34039" target="_blank">userscripts.org</a> page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazed.org.uk/2008/09/bbc-iplayer-greasemonkey-script/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

