<?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>水草树 &#187; 百度空间</title>
	<atom:link href="http://mifunny.info/tag/%e7%99%be%e5%ba%a6%e7%a9%ba%e9%97%b4/feed" rel="self" type="application/rss+xml" />
	<link>http://mifunny.info</link>
	<description>走走停停看看，恍然大悟。</description>
	<lastBuildDate>Sat, 27 Aug 2011 18:25:29 +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>使用greasemonkey脚本，在百度空间发布HTML代码</title>
		<link>http://mifunny.info/use-greasemonkey-javascript-to-post-html-to-hi-baidu-228.html</link>
		<comments>http://mifunny.info/use-greasemonkey-javascript-to-post-html-to-hi-baidu-228.html#comments</comments>
		<pubDate>Sat, 14 Feb 2009 09:31:39 +0000</pubDate>
		<dc:creator>LD</dc:creator>
				<category><![CDATA[此间Web]]></category>
		<category><![CDATA[greasemonkey脚本]]></category>
		<category><![CDATA[HTML发布]]></category>
		<category><![CDATA[百度空间]]></category>
		<category><![CDATA[脚本]]></category>

		<guid isPermaLink="false">http://mifunny.info/use-greasemonkey-javascript-to-post-html-to-hi-baidu-228.html</guid>
		<description><![CDATA[没生病之前本有一个想法要拿百度空间做个小测试，所以找了这个可以屏蔽百度空间 fckeditor 的greasemonkey脚本。 不过未来一个多礼拜将很少有时间上网，所以还是先把它贴出来…… 使用greasemonkey新建用户脚本，然后应用页面填上 http://hi.baidu.com/* ， 名字和名字空间随便， 然后填上下面的代码OK。。 // ==UserScript== // @name baidu editor // @namespace body // @include http://hi.baidu.com/* var blogText = document.getElementById(&#8216;spBlogText&#8217;); var textDiv = blogText.parentNode; var textValue = blogText.value; textDiv.innerHTML=&#8221;; textDiv.innerHTML = &#8216;&#60;textarea id=&#8221;spBlogText&#8221; name=&#8221;spBlogText&#8221; rows=&#8221;40&#8243; cols=&#8221;70&#8243;&#62;&#8217;+textValue+&#8217;&#60;/textarea&#62;&#8217;; var form = document.getElementById(&#8216;popFormSubmit&#8217;); form.onsubmit=&#8221;; checkform = function(){return true;} // ==/UserScript==]]></description>
			<content:encoded><![CDATA[<p style="text-indent: 2em;">没生病之前本有一个想法要拿百度空间做个小测试，所以找了这个可以屏蔽百度空间 fckeditor 的greasemonkey脚本。 不过未来一个多礼拜将很少有时间上网，所以还是先把它贴出来……</p>
<p>使用greasemonkey新建用户脚本，然后应用页面填上 http://hi.baidu.com/* ， 名字和名字空间随便， 然后填上下面的代码OK。。<br />
<span id="more-228"></span></p>
<blockquote><p>// ==UserScript==<br />
// @name           baidu editor<br />
// @namespace      body<br />
// @include        http://hi.baidu.com/*</p>
<p>var blogText = document.getElementById(&#8216;spBlogText&#8217;);<br />
var textDiv = blogText.parentNode;<br />
var textValue = blogText.value;<br />
textDiv.innerHTML=&#8221;;</p>
<p>textDiv.innerHTML = &#8216;&lt;textarea id=&#8221;spBlogText&#8221; name=&#8221;spBlogText&#8221; rows=&#8221;40&#8243; cols=&#8221;70&#8243;&gt;&#8217;+textValue+&#8217;&lt;/textarea&gt;&#8217;;<br />
var form = document.getElementById(&#8216;popFormSubmit&#8217;);<br />
form.onsubmit=&#8221;;<br />
checkform = function(){return true;}<br />
// ==/UserScript==</p>
</blockquote>
<div class="wp-caption aligncenter" style="width: 410px"><img title="没有应用脚本之前 - 百度空间" src="http://lh6.ggpht.com/_Th1ctZq-HFA/SZaNMZz2PyI/AAAAAAAABaA/9kTJgQvlE70/s400/01.hi-baidu.jpg" alt="没有应用脚本之前 - 百度空间" width="400" height="298" /><p class="wp-caption-text">没有应用脚本之前 - 百度空间</p></div>
<div class="wp-caption aligncenter" style="width: 410px"><img title="应用脚本之后 - 百度空间" src="http://lh3.ggpht.com/_Th1ctZq-HFA/SZaNMigO11I/AAAAAAAABaI/gWIHQCAFT-o/s400/02.hi-baidu-use-javascript.jpg" alt="应用脚本之后 - 百度空间" width="400" height="202" /><p class="wp-caption-text">应用脚本之后 - 百度空间</p></div>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=650bce02-902d-416f-9660-7dfd4d3fb1ec" /></div>
]]></content:encoded>
			<wfw:commentRss>http://mifunny.info/use-greasemonkey-javascript-to-post-html-to-hi-baidu-228.html/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

