<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>Yining.write() &#187; greasemonkey</title>
	<atom:link href="http://www.yining.org/tag/greasemonkey/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yining.org</link>
	<description>public virtual stream Yining.write()</description>
	<lastBuildDate>Fri, 04 Jun 2010 12:01:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>		<item>
		<title>八行语句KISS豆瓣</title>
		<link>http://www.yining.org/2008/04/01/kiss-douban-with-greasemonkey/</link>
		<comments>http://www.yining.org/2008/04/01/kiss-douban-with-greasemonkey/#comments</comments>
		<pubDate>Mon, 31 Mar 2008 22:37:35 +0000</pubDate>
		<dc:creator>Yining</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[douban]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[豆瓣]]></category>

		<guid isPermaLink="false">http://www.yining.org/?p=142</guid>
		<description><![CDATA[作为一个喜欢读书看碟的人，我一直把豆瓣当作非常喜欢且每天必上去转几圈的网站。可是最近的豆瓣越来越不让我喜欢，或者说不能让我越来越喜欢。在推出“广播”之后，最近推出日记，接着推出推荐网址，这对在豆瓣上找书看影评的我来说，不仅没有用处，“信号”降低了，“噪音”反而升高了。
我不想离开豆瓣，但是又不想受到这些干扰，就想干脆用GreaseMonkey扩展来写个脚本把不想看到的东西屏蔽掉吧，Keep It Simple, Sweet.
我的目的很简单，就是要把右边栏屏蔽然后把左边主要内容横向伸展开。试了一下，只要八行脚本语句就能暂时满足我的要求，这里要强烈赞一下豆瓣的开发团队，要不是他们写的页面代码很一致（嘿，页面也是API），脚本就可能很复杂甚至让我放弃这个念头 ;-)
脚本如下：

// ==UserScript==
// @name           mini douban
// @namespace      douban
// @include        http://www.douban.com/*
// ==/UserScript==

a = document.getElementById('tablerm');
if (a) a.setAttribute('style', 'display:none');

a = document.getElementById('tabler');
if (a) a.setAttribute('style', 'display:none');

a = document.getElementById('in_table');
if (a) a.setAttribute('style', 'width:100%');

a = document.getElementById('in_tablem');
if (a) a.setAttribute('style', [...]]]></description>
			<content:encoded><![CDATA[<p>作为一个喜欢读书看碟的人，我一直把<a href="http://www.douban.com">豆瓣</a>当作非常喜欢且每天必上去转几圈的网站。可是最近的豆瓣越来越不让我喜欢，或者说不能让我越来越喜欢。在推出“广播”之后，最近推出日记，接着推出推荐网址，这对在豆瓣上找书看影评的我来说，不仅没有用处，“信号”降低了，“噪音”反而升高了。</p>
<p>我不想离开豆瓣，但是又不想受到这些干扰，就想干脆用<a href="http://www.greasespot.net/">GreaseMonkey扩展</a>来写个脚本把不想看到的东西屏蔽掉吧，Keep It Simple, Sweet.</p>
<p>我的目的很简单，就是要把右边栏屏蔽然后把左边主要内容横向伸展开。试了一下，只要八行脚本语句就能暂时满足我的要求，这里要强烈赞一下豆瓣的开发团队，要不是他们写的页面代码很一致（嘿，<a href="http://www.yining.org/2007/06/07/your-markup-is-api/">页面也是API</a>），脚本就可能很复杂甚至让我放弃这个念头 ;-)</p>
<p>脚本如下：</p>
<pre class="prettyprint">
// ==UserScript==
// @name           mini douban
// @namespace      douban
// @include        http://www.douban.com/*
// ==/UserScript==

a = document.getElementById('tablerm');
if (a) a.setAttribute('style', 'display:none');

a = document.getElementById('tabler');
if (a) a.setAttribute('style', 'display:none');

a = document.getElementById('in_table');
if (a) a.setAttribute('style', 'width:100%');

a = document.getElementById('in_tablem');
if (a) a.setAttribute('style', 'width:100%');
</pre>
<p>好了，现在不妨趁机说说意见：</p>
<p>首先，我想我能理解豆瓣做这些新功能（比如在不断增加大量用户在读看听上的喜好和选择的数据基础上，可以尽量深入收集，发现和发掘更深层次的潜在数据），但是对我个人来说更希望能帮<b>我</b>发掘更多的数据，这方面的服务似乎有提高的空间，举例来说，《枪炮，病菌与钢铁》这本书我看过了，很喜欢，可是豆瓣依然向我推荐繁体版和英文版，更不要说大量原英文版和翻译的中文版的技术书籍了，读了其中之一就不大会再读其它的，类似的问题还有不同版次的书（这方面技术书籍问题更多），在“豆瓣猜”的列表下，我该不该选“不感兴趣”呢？</p>
<p>Web2.0，长尾，Abundance，UGC，&#8230;. 在数据和信息越来越多的时代，我更需要的是提高信噪比。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yining.org/2008/04/01/kiss-douban-with-greasemonkey/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
