<?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/"
		>
<channel>
	<title>Comments on: toLowerCase() bookmarklet</title>
	<atom:link href="http://www.phpied.com/to-lower-case-bookmarklet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpied.com/to-lower-case-bookmarklet/</link>
	<description>Stoyan&#039;s blog about &#60;a href=&#34;/category/xhtml&#34; class=&#34;tag-minor&#34;&#62;(x)html(5)&#60;/a&#62;, &#60;a href=&#34;/category/ajax&#34; class=&#34;tag-major&#34;&#62;ajax&#60;/a&#62;, &#60;a href=&#34;/category/bookmarklets&#34; class=&#34;tag-major&#34;&#62;bookmarklets&#60;/a&#62;, &#60;a href=&#34;/category/browsers&#34; class=&#34;tag-minor&#34;&#62;browsers&#60;/a&#62;, &#60;a href=&#34;/category/css&#34; class=&#34;tag-normal&#34;&#62;css&#60;/a&#62;, &#60;a href=&#34;/category/firebug&#34; class=&#34;tag-minor&#34;&#62;firebug&#60;/a&#62;, &#60;a href=&#34;/category/javascript&#34; class=&#34;tag-numero-uno&#34;&#62;javascript&#60;/a&#62;, &#60;a href=&#34;/category/json&#34; class=&#34;tag-normal&#34;&#62;json&#60;/a&#62;, &#60;a href=&#34;/category/mdb2&#34; class=&#34;tag-minor&#34;&#62;mdb2&#60;/a&#62;, &#60;a href=&#34;/category/mysql&#34; class=&#34;tag-normal&#34;&#62;mysql&#60;/a&#62;, &#60;a href=&#34;/category/pear&#34; class=&#34;tag-numero-uno&#34;&#62;pear&#60;/a&#62;, &#60;a href=&#34;/category/performance&#34; class=&#34;tag-major&#34;&#62;performance&#60;/a&#62;, &#60;a href=&#34;/category/php&#34; class=&#34;tag-numero-uno&#34;&#62;php&#60;/a&#62;, &#60;a href=&#34;/category/phpbb&#34; class=&#34;tag-major&#34;&#62;phpbb&#60;/a&#62;, &#60;a href=&#34;/category/tools&#34; class=&#34;tag-normal&#34;&#62;tools&#60;/a&#62;, &#60;a href=&#34;/category/yslow&#34; class=&#34;tag-minor&#34;&#62;yslow&#60;/a&#62;, &#60;a href=&#34;/category/yui&#34; class=&#34;tag-normal&#34;&#62;yui&#60;/a&#62;, &#60;a href=&#34;/category/writing&#34; class=&#34;tag-minor&#34;&#62;writing&#60;/a&#62;, &#60;a href=&#34;/category/music&#34; class=&#34;tag-major&#34;&#62;music&#60;/a&#62;,... &#60;a href=&#34;/category/life-and-everything&#34; class=&#34;tag-normal&#34;&#62;life and everything&#60;/a&#62;.</description>
	<lastBuildDate>Sat, 11 Feb 2012 14:07:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Felix</title>
		<link>http://www.phpied.com/to-lower-case-bookmarklet/#comment-60435</link>
		<dc:creator>Felix</dc:creator>
		<pubDate>Mon, 18 Jun 2007 22:53:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/tolowercase-bookmarklet/#comment-60435</guid>
		<description>I&#039;ve been using the following two to convert the whole page to uppercase and lowercase:
uppercase: javascript:(function(){ var i,t,D=document;for(i=0;t=D.getElementsByTagName(&#039;textarea&#039;)[i];++i)t.value=t.value.toUpperCase(); var newSS,styles=&#039;*{text-transform:uppercase}input,textarea{text-transform:none}&#039;;if(D.createStyleSheet){D.createStyleSheet(&quot;javascript:&#039;&quot;+styles+&quot;&#039;&quot;);}else{newSS=D.createElement(&#039;link&#039;);newSS.rel=&#039;stylesheet&#039;;newSS.href=&#039;data:text/css,&#039;+escape(styles);D.documentElement.childNodes[0].appendChild(newSS);}})()
lowercase: javascript:(function(){var i,t,D=document; for(i=0;t=D.getElementsByTagName(&#039;textarea&#039;)[i];++i)t.value=t.value.toLowerCase(); var newSS,styles=&#039;*{text-transform:lowercase}input,textarea{text-transform:none}&#039;;if(D.createStyleSheet){D.createStyleSheet(&quot;javascript:&#039;&quot;+styles+&quot;&#039;&quot;);}else{newSS=D.createElement(&#039;link&#039;);newSS.rel=&#039;stylesheet&#039;;newSS.href=&#039;data:text/css,&#039;+escape(styles);D.documentElement.childNodes[0].appendChild(newSS);}})()

I&#039;ve tested both of them on Opera, FF, and IE and they seem to work properly.  By the way, there are plenty more of these bookmarklets at:
http://operawiki.info/BookMarklets</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been using the following two to convert the whole page to uppercase and lowercase:<br />
uppercase: javascript:(function(){ var i,t,D=document;for(i=0;t=D.getElementsByTagName(&#8216;textarea&#8217;)[i];++i)t.value=t.value.toUpperCase(); var newSS,styles=&#8217;*{text-transform:uppercase}input,textarea{text-transform:none}&#8217;;if(D.createStyleSheet){D.createStyleSheet(&#8220;javascript:&#8217;&#8221;+styles+&#8221;&#8216;&#8221;);}else{newSS=D.createElement(&#8216;link&#8217;);newSS.rel=&#8217;stylesheet&#8217;;newSS.href=&#8217;data:text/css,&#8217;+escape(styles);D.documentElement.childNodes[0].appendChild(newSS);}})()<br />
lowercase: javascript:(function(){var i,t,D=document; for(i=0;t=D.getElementsByTagName(&#8216;textarea&#8217;)[i];++i)t.value=t.value.toLowerCase(); var newSS,styles=&#8217;*{text-transform:lowercase}input,textarea{text-transform:none}&#8217;;if(D.createStyleSheet){D.createStyleSheet(&#8220;javascript:&#8217;&#8221;+styles+&#8221;&#8216;&#8221;);}else{newSS=D.createElement(&#8216;link&#8217;);newSS.rel=&#8217;stylesheet&#8217;;newSS.href=&#8217;data:text/css,&#8217;+escape(styles);D.documentElement.childNodes[0].appendChild(newSS);}})()</p>
<p>I&#8217;ve tested both of them on Opera, FF, and IE and they seem to work properly.  By the way, there are plenty more of these bookmarklets at:<br />
<a href="http://operawiki.info/BookMarklets" rel="nofollow">http://operawiki.info/BookMarklets</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Summers</title>
		<link>http://www.phpied.com/to-lower-case-bookmarklet/#comment-33727</link>
		<dc:creator>Bob Summers</dc:creator>
		<pubDate>Sat, 11 Nov 2006 13:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/tolowercase-bookmarklet/#comment-33727</guid>
		<description>Greetings Stoyan 

From your comment about you tolowecase() bookmarklet...
&quot;&gt;p.s. I just now thought that I could&#039;ve pasted the text into any even just a bit advanced text editor&quot;

... it would be really useful if it could take text from the clipboard, convert it and put it back on the clipboard.

I&#039;ve included the code from a similar bookmarklet that I saved a long time ago that does this  in case you get ambitious.  Unfortunately the code only works in IE, not FireFox that I always have open.


javascript:q=(document.frames.length?&#039;&#039;:document.selection.createRange().text);for(i=0;i</description>
		<content:encoded><![CDATA[<p>Greetings Stoyan </p>
<p>From your comment about you tolowecase() bookmarklet&#8230;<br />
&#8220;&gt;p.s. I just now thought that I could&#8217;ve pasted the text into any even just a bit advanced text editor&#8221;</p>
<p>&#8230; it would be really useful if it could take text from the clipboard, convert it and put it back on the clipboard.</p>
<p>I&#8217;ve included the code from a similar bookmarklet that I saved a long time ago that does this  in case you get ambitious.  Unfortunately the code only works in IE, not FireFox that I always have open.</p>
<p>javascript:q=(document.frames.length?&#8221;:document.selection.createRange().text);for(i=0;i</p>
]]></content:encoded>
	</item>
</channel>
</rss>

