<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Simulating low visual acuity</title>
	<atom:link href="http://accessgarage.wordpress.com/2013/02/08/a-bookmarklet-for-simulating-low-visual-acuity/feed/" rel="self" type="application/rss+xml" />
	<link>http://accessgarage.wordpress.com/2013/02/08/a-bookmarklet-for-simulating-low-visual-acuity/</link>
	<description>Aaron Leventhal&#039;s accessibility blog</description>
	<lastBuildDate>Thu, 07 Mar 2013 16:10:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: aaronlev</title>
		<link>http://accessgarage.wordpress.com/2013/02/08/a-bookmarklet-for-simulating-low-visual-acuity/#comment-1521</link>
		<dc:creator><![CDATA[aaronlev]]></dc:creator>
		<pubDate>Sat, 09 Feb 2013 21:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://accessgarage.wordpress.com/?p=365#comment-1521</guid>
		<description><![CDATA[BTW, do you know how we could use the URL filters to simulate red-green colorblindness, etc. as opposed to just using grayscale? I&#039;d also be interested in making a better glare simulation, where the light leaks out. There&#039;s a good glare simulation here: http://visionsimulations.com/vision-simulators/glare-simulator]]></description>
		<content:encoded><![CDATA[<p>BTW, do you know how we could use the URL filters to simulate red-green colorblindness, etc. as opposed to just using grayscale? I&#8217;d also be interested in making a better glare simulation, where the light leaks out. There&#8217;s a good glare simulation here: <a href="http://visionsimulations.com/vision-simulators/glare-simulator" rel="nofollow">http://visionsimulations.com/vision-simulators/glare-simulator</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aaronlev</title>
		<link>http://accessgarage.wordpress.com/2013/02/08/a-bookmarklet-for-simulating-low-visual-acuity/#comment-1520</link>
		<dc:creator><![CDATA[aaronlev]]></dc:creator>
		<pubDate>Sat, 09 Feb 2013 21:31:08 +0000</pubDate>
		<guid isPermaLink="false">http://accessgarage.wordpress.com/?p=365#comment-1520</guid>
		<description><![CDATA[Thanks! 

I just released the &lt;a href=&quot;http://accessgarage.wordpress.com/2013/02/09/458/&quot; rel=&quot;nofollow&quot;&gt;NoCoffee extension for Chrome&lt;/a&gt; today. 

It&#039;d be great to make a version of NoCoffee for Firefox and other browsers. I can post the code to that if anyone is interested in taking that on (or improving the extension for that matter).]]></description>
		<content:encoded><![CDATA[<p>Thanks! </p>
<p>I just released the <a href="http://accessgarage.wordpress.com/2013/02/09/458/" rel="nofollow">NoCoffee extension for Chrome</a> today. </p>
<p>It&#8217;d be great to make a version of NoCoffee for Firefox and other browsers. I can post the code to that if anyone is interested in taking that on (or improving the extension for that matter).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Ratcliffe</title>
		<link>http://accessgarage.wordpress.com/2013/02/08/a-bookmarklet-for-simulating-low-visual-acuity/#comment-1515</link>
		<dc:creator><![CDATA[Mike Ratcliffe]]></dc:creator>
		<pubDate>Sat, 09 Feb 2013 14:20:20 +0000</pubDate>
		<guid isPermaLink="false">http://accessgarage.wordpress.com/?p=365#comment-1515</guid>
		<description><![CDATA[Firefox currently supports the url version of filter. The following is an update of your original script supporting Chrome and Firefox (it also fixes the display of undefined when the prompt is first opened):

window.checkBlurKey = function(evt) {
  window.blurLevel = (window.blurLevel &#124;&#124; 0);
  window.blurLevel -= ((evt.charCode == 91/*[*/ &amp;&amp; window.blurLevel &gt; 0) ? 1: 0);
  window.blurLevel += ((evt.charCode == 93/*]*/) ? 1: 0);
  window.updateBlur();
};
window.updateBlur = function() {
  var currZoom = window.outerWidth / window.innerWidth;
  var adjustedBlur = window.blurLevel / currZoom;
  if (document.body.style.webkitFilter) {
    document.body.style.webkitFilter =
      adjustedBlur ? &#039;blur(&#039; + adjustedBlur / 2 + &#039;px)&#039; : &#039;&#039;;
  } else {
    var blur = adjustedBlur ? adjustedBlur : 0;
    var filter = &#039;url(\&#039;data:image/svg+xml;utf8,#svgBlur\&#039;)&#039;;
    document.body.style.filter = filter;
  }
};
if (window.blurLevel === undefined) {
 window.addEventListener(&#039;keypress&#039;, checkBlurKey);
 setInterval(updateBlur, 500); // In case zoom changes
}
window.blurLevel = parseInt(prompt(&#039;Blur amount (0-20)? \n&#039; +
 &#039;(Press [ and ] in page to change)&#039;, window.blurLevel &#124;&#124; 0));
window.updateBlur();]]></description>
		<content:encoded><![CDATA[<p>Firefox currently supports the url version of filter. The following is an update of your original script supporting Chrome and Firefox (it also fixes the display of undefined when the prompt is first opened):</p>
<p>window.checkBlurKey = function(evt) {<br />
  window.blurLevel = (window.blurLevel || 0);<br />
  window.blurLevel -= ((evt.charCode == 91/*[*/ &amp;&amp; window.blurLevel &gt; 0) ? 1: 0);<br />
  window.blurLevel += ((evt.charCode == 93/*]*/) ? 1: 0);<br />
  window.updateBlur();<br />
};<br />
window.updateBlur = function() {<br />
  var currZoom = window.outerWidth / window.innerWidth;<br />
  var adjustedBlur = window.blurLevel / currZoom;<br />
  if (document.body.style.webkitFilter) {<br />
    document.body.style.webkitFilter =<br />
      adjustedBlur ? &#8216;blur(&#8216; + adjustedBlur / 2 + &#8216;px)&#8217; : &#8221;;<br />
  } else {<br />
    var blur = adjustedBlur ? adjustedBlur : 0;<br />
    var filter = &#8216;url(\&#8217;data:image/svg+xml;utf8,#svgBlur\&#8217;)';<br />
    document.body.style.filter = filter;<br />
  }<br />
};<br />
if (window.blurLevel === undefined) {<br />
 window.addEventListener(&#8216;keypress&#8217;, checkBlurKey);<br />
 setInterval(updateBlur, 500); // In case zoom changes<br />
}<br />
window.blurLevel = parseInt(prompt(&#8216;Blur amount (0-20)? \n&#8217; +<br />
 &#8216;(Press [ and ] in page to change)&#8217;, window.blurLevel || 0));<br />
window.updateBlur();</p>
]]></content:encoded>
	</item>
</channel>
</rss>
