<?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>Coolxll&#039;s Secret Garden &#187; Stylish</title>
	<atom:link href="http://coolxll.me/tag/stylish/feed/" rel="self" type="application/rss+xml" />
	<link>http://coolxll.me</link>
	<description>Software/Life/Mobilephone/IT</description>
	<lastBuildDate>Mon, 20 Feb 2012 14:34:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Firefox重新探索你的网络世界（4）—刀与剑·下</title>
		<link>http://coolxll.me/2009/05/firefox%e9%87%8d%e6%96%b0%e6%8e%a2%e7%b4%a2%e4%bd%a0%e7%9a%84%e7%bd%91%e7%bb%9c%e4%b8%96%e7%95%8c%ef%bc%884%ef%bc%89%e2%80%94%e5%88%80%e4%b8%8e%e5%89%91%c2%b7%e4%b8%8b/</link>
		<comments>http://coolxll.me/2009/05/firefox%e9%87%8d%e6%96%b0%e6%8e%a2%e7%b4%a2%e4%bd%a0%e7%9a%84%e7%bd%91%e7%bb%9c%e4%b8%96%e7%95%8c%ef%bc%884%ef%bc%89%e2%80%94%e5%88%80%e4%b8%8e%e5%89%91%c2%b7%e4%b8%8b/#comments</comments>
		<pubDate>Fri, 08 May 2009 14:00:00 +0000</pubDate>
		<dc:creator>coolxll</dc:creator>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Greasemonkey]]></category>
		<category><![CDATA[Stylish]]></category>

		<guid isPermaLink="false">http://localhost/wordpress/?p=144</guid>
		<description><![CDATA[好久没有更新这个系列的文章了，最近有些小忙，有段时间没上了。 如同前文所述，GreaseMonkey是个很强大的工具，那么今天所说的Stylish则会让你的Firefox变得更具艺术气息。 Stylish今天更新了新版本，新的版本号是1.0，从版本号来看似乎有较大的变化。 一、什么是Stylish Stylish是一个通过CSS来定制Firefox显示样式的插件。Greasemonkey也可以修改样式，但采用的是JavaScript，不如CSS来得简单和快捷。而在UserStyles这个网站上则集合了众多样式的代码，用户可以根据需要方便添加使用。（via E-space） 二、如何安装Stylish Stylish的安装地址，打开后，点击安装即可。 安装之后，界面如图所示：V0.5.9版本的界面 V1.0版本的界面： 三、如何高效的使用Stylish 1）从UserStyles.org 快速获取适合当前页面页面的样式 对任务栏托盘中的Stylish图标点击右键，选择如下项 2）自己编写适合当前页面的样式 比如对于校内网的广告，可以通过Stylish进行一定程度的屏蔽 @namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain(&#8220;xiaonei.com&#8221;) { #banner, #info, .ad-bar, .notice-holde, .ad-bar .block, .m-composer, .selected {display:none !important;} } 四、Stylish样式推荐 Dark Google Gray YouTube Dark Digg Gmail &#8230; <a href="http://coolxll.me/2009/05/firefox%e9%87%8d%e6%96%b0%e6%8e%a2%e7%b4%a2%e4%bd%a0%e7%9a%84%e7%bd%91%e7%bb%9c%e4%b8%96%e7%95%8c%ef%bc%884%ef%bc%89%e2%80%94%e5%88%80%e4%b8%8e%e5%89%91%c2%b7%e4%b8%8b/">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>好久没有更新这个系列的文章了，最近有些小忙，有段时间没上了。<br />
如同<a href="http://coolxll.blogspot.com/2009/04/firefox4.html">前文</a>所述，<strong>GreaseMonkey</strong>是个很强大的工具，那么今天所说的<strong>Stylish</strong>则会让你的Firefox变得更具艺术气息。<br />
<a href="http://lh5.ggpht.com/_PKmoDtdGsjw/SgQtk1ZdENI/AAAAAAAACPE/8VQcbBAbjs0/s1600-h/image2.png"><img style="display: inline" title="image" src="http://lh5.ggpht.com/_PKmoDtdGsjw/SgQtmLjoJVI/AAAAAAAACPI/GRqq8L29g8A/image_thumb.png?imgmax=800" alt="image" width="507" height="379" /></a><br />
Stylish今天更新了新版本，新的版本号是<strong>1.0</strong>，从版本号来看似乎有较大的变化。<br />
<span id="more-72727"></span><br />
<span style="background-color: green">一、什么是Stylish</span></p>
<blockquote><p><a href="https://addons.mozilla.org/en-US/firefox/addon/2108">Stylish</a>是一个通过<strong>CSS</strong>来定制Firefox显示样式的插件。<strong>Greasemonkey</strong>也可以修改样式，但采用的是<strong>JavaScript</strong>，不如CSS来得简单和快捷。而在<a href="http://userstyles.org/">UserStyles</a>这个网站上则集合了众多样式的代码，用户可以根据需要方便添加使用。（via <a href="http://e-spacy.com/blog/firefox-stylish.html">E-space</a>）</p></blockquote>
<p><span style="background-color: green">二、如何安装Stylish</span></p>
<p>Stylish的<a href="https://addons.mozilla.org/en-US/firefox/addon/2108">安装地址</a>，打开后，点击安装即可。<br />
<a href="http://lh6.ggpht.com/_PKmoDtdGsjw/SgQtnHdt5JI/AAAAAAAACPM/iTWCspstT3w/s1600-h/image7%5B1%5D.png"><img style="display: inline" title="image" src="http://lh5.ggpht.com/_PKmoDtdGsjw/SgQtn_NNt5I/AAAAAAAACPQ/q8rDojLk6uE/image_thumb3%5B1%5D.png?imgmax=800" alt="image" width="500" height="223" /></a><br />
安装之后，界面如图所示：V0.5.9版本的界面<br />
<a href="http://lh5.ggpht.com/_PKmoDtdGsjw/SgQtow1ZJ9I/AAAAAAAACPU/9fjRJI7XE30/s1600-h/image11.png"><img style="display: inline" title="image" src="http://lh3.ggpht.com/_PKmoDtdGsjw/SgQtphHYFnI/AAAAAAAACPc/kt6-zZlmGiU/image_thumb5.png?imgmax=800" alt="image" width="500" height="351" /></a><br />
V1.0版本的界面：</p>
<p><span style="background-color: green">三、如何高效的使用Stylish </span><br />
1）从UserStyles.org 快速获取适合当前页面页面的样式<br />
对任务栏托盘中的Stylish图标点击右键，选择如下项<br />
<a href="http://lh4.ggpht.com/_PKmoDtdGsjw/SgQtqYCud0I/AAAAAAAACPg/ZJPhoux5oJk/s1600-h/image17.png"><img style="display: inline" title="image" src="http://lh6.ggpht.com/_PKmoDtdGsjw/SgQtrM_V6fI/AAAAAAAACPk/INU7kGO_SmI/image_thumb7.png?imgmax=800" alt="image" width="218" height="113" /></a><br />
2）自己编写适合当前页面的样式<br />
比如对于<a href="http://www.xiaonei.com">校内网</a>的广告，可以通过Stylish进行一定程度的屏蔽<br />
<textarea style="width: 96%; height: 3.93em;" name="textarea">@namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain(&#8220;xiaonei.com&#8221;) { #banner, #info, .ad-bar, .notice-holde, .ad-bar .block, .m-composer, .selected {display:none !important;} }</textarea></p>
<p><span style="background-color: green">四、Stylish样式推荐<br />
</span></p>
<p><a href="http://userstyles.org/styles/1693">Dark Google</a><br />
<a href="http://lh6.ggpht.com/_PKmoDtdGsjw/SgQtr_CiLEI/AAAAAAAACPo/sF6v6LfWQfw/s1600-h/image3%5B1%5D.png"><img style="display: inline" title="image" src="http://lh5.ggpht.com/_PKmoDtdGsjw/SgQtshtqr6I/AAAAAAAACPs/cha14QZgL28/image_thumb1.png?imgmax=800" alt="image" width="450" height="241" /></a></p>
<p><a name="Continue"></a></p>
<p><a href="http://userstyles.org/styles/1078">Gray YouTube</a><br />
<a href="http://lh4.ggpht.com/_PKmoDtdGsjw/SgQttpAtnoI/AAAAAAAACPw/uE-KNDZw4oU/s1600-h/image6.png"><img style="display: inline" title="image" src="http://lh3.ggpht.com/_PKmoDtdGsjw/SgQtubnRZdI/AAAAAAAACP0/RtzyY_Pxt9c/image_thumb2.png?imgmax=800" alt="image" width="450" height="334" /></a><br />
<a href="http://userstyles.org/styles/1559">Dark Digg</a><br />
<a href="http://lh5.ggpht.com/_PKmoDtdGsjw/SgQtvd5XzaI/AAAAAAAACP4/kaTsbwuKJrI/s1600-h/image9.png"><img style="display: inline" title="image" src="http://lh3.ggpht.com/_PKmoDtdGsjw/SgQtw6FnlFI/AAAAAAAACP8/JY8BzQ6AF9c/image_thumb3.png?imgmax=800" alt="image" width="450" height="293" /></a><br />
<a href="http://userstyles.org/styles/1833">Gmail Air</a><br />
<a href="http://lh4.ggpht.com/_PKmoDtdGsjw/SgQtxgMNKEI/AAAAAAAACQA/NioOmG3chYg/s1600-h/image12.png"><img style="display: inline" title="image" src="http://lh6.ggpht.com/_PKmoDtdGsjw/SgQtyXw0xTI/AAAAAAAACQE/4fGkVrmITTk/image_thumb4.png?imgmax=800" alt="image" width="450" height="201" /></a><br />
<a href="http://userstyles.org/styles/1365">Wikipedia Gray Lady</a><br />
<a href="http://lh6.ggpht.com/_PKmoDtdGsjw/SgQtzIRBm-I/AAAAAAAACQI/TnVHkv62kdg/s1600-h/image15%5B1%5D.png"><img style="display: inline" title="image" src="http://lh3.ggpht.com/_PKmoDtdGsjw/SgQt0M_iI5I/AAAAAAAACQM/fE70SkRnVcY/image_thumb5%5B1%5D.png?imgmax=800" alt="image" width="450" height="312" /></a><br />
<a href="http://userstyles.org/styles/2433">Dark Firefox about:blank</a><br />
<a href="http://lh3.ggpht.com/_PKmoDtdGsjw/SgQt0xaXoKI/AAAAAAAACQQ/9bZvzOF7nAI/s1600-h/image18.png"><img style="display: inline" title="image" src="http://lh4.ggpht.com/_PKmoDtdGsjw/SgQt1yUk3CI/AAAAAAAACQU/uJVGSrHtR30/image_thumb6.png?imgmax=800" alt="image" width="450" height="313" /></a><br />
<a href="http://blog.mzzt.net/2007/04/10/aboutblank/">Light Firefox about:blank</a><br />
<a href="http://lh4.ggpht.com/_PKmoDtdGsjw/SgQt2RzebEI/AAAAAAAACQY/xtmbia6ui58/s1600-h/image24.png"><img style="display: inline" title="image" src="http://lh5.ggpht.com/_PKmoDtdGsjw/SgQt3MI8ucI/AAAAAAAACQc/XCLzFzngSAs/image_thumb8.png?imgmax=800" alt="image" width="450" height="245" /></a><br />
<a href="http://userstyles.org/styles/2399">DAogle</a><br />
<a href="http://lh5.ggpht.com/_PKmoDtdGsjw/SgQt36dNmUI/AAAAAAAACQg/UqTnY9GHqEk/s1600-h/image27.png"><img style="display: inline" title="image" src="http://lh4.ggpht.com/_PKmoDtdGsjw/SgQt4m61MHI/AAAAAAAACQk/YLdBXQ8tf5A/image_thumb9.png?imgmax=800" alt="image" width="450" height="231" /></a><br />
<a href="http://userstyles.org/styles/529">Reddit at night</a><br />
<a href="http://lh5.ggpht.com/_PKmoDtdGsjw/SgQt5bHnUOI/AAAAAAAACQo/mnSDD9s1S9I/s1600-h/image30.png"><img style="display: inline" title="image" src="http://lh4.ggpht.com/_PKmoDtdGsjw/SgQt6KNbYdI/AAAAAAAACQs/30sOnWyvZmI/image_thumb10.png?imgmax=800" alt="image" width="450" height="191" /></a><br />
<a href="http://userstyles.org/styles/2318">Google Reader, OSX style</a><br />
<a href="http://lh3.ggpht.com/_PKmoDtdGsjw/SgQt6uCwjKI/AAAAAAAACQw/g9kaMwaor4U/s1600-h/image33.png"><img style="display: inline" title="image" src="http://lh3.ggpht.com/_PKmoDtdGsjw/SgQt7XGdvzI/AAAAAAAACQ0/gmEfzV9eK_4/image_thumb11.png?imgmax=800" alt="image" width="450" height="134" /></a></p>
<p><a href="http://mashable.com/2007/06/05/firefox-stylish/">Via MashAble</a>，详细介绍请点击链接查看</p>
<p><span style="background-color: green">五、通过Stylish定制你的Firefox </span></p>
<blockquote><p>举例，要干掉 <strong>Firefox 状态栏</strong>，只需要新增一个空白 stylish，写一句：<br />
<code>#status-bar { display: none !important; }</code></p>
<p>神奇吗？如果觉得彻底没有了不方便，可以让它浮动显示。这样写(参考了<a href="http://userstyles.org/styles/3600">这里</a>)：<br />
<code>/* 隐藏状态栏但是留一个像素，让鼠标移动过去时可以浮动出来 */<br />
#status-bar { border-top: 1px solid ButtonShadow !important; }<br />
#status-bar {height : 1px !important; min-height : 0 !important; overflow : hidden !important;}<br />
#status-bar:hover,</code></p>
<p>#status-bar:focus,<br />
/* 25像素可以根据实际模板定义 */<br />
#status-bar:active { height: 25px !important; }</p>
<p>如果只是想让状态栏的某些按钮不显示，比如访问 https 的安全按钮可以写：<br />
<code>statusbarpanel#security-button { display: none !important; }</code></p>
<p>访问 <a href="https://addons.mozilla.org/en-US/firefox/search/?q=Stylish">Firefox 扩展区</a>就能看到效果。</p>
<p>再举例，比如<strong>折腾菜单</strong>。帮助菜单基本没用，不想看到它可以写一句：<br />
<code>#helpMenu { display: none !important; }</code></p>
<p>很简单对吧。其它的文件(file-menu)、查看(view-menu)、编辑(edit-menu)、历史(history-menu)、书签(bookmarks-menu)、工具(tools-menu)你也可以相应的隐藏了。比如我平时几乎只用查看、历史和工具，那么就来个超简洁的：<br />
<code>#file-menu, #view-menu, #edit-menu, #bookmarks-menu, #helpMenu { display: none !important; }</code></p>
<p>很无聊吧 —。—</p>
<p>现在你可以任意蹂躏你的 Firefox 了。<a href="http://userstyles.org/styles/search/firefox">这里</a>有很多现成的代码可供参考，可以用来快速测试各种诡异的 hack 效果。<br />
<a href="http://jandan.net/2008/12/01/stylish-custom-firefox.html">via Jandan</a></p></blockquote>
<p>一些关于隐藏Firefox，增加显示面积的脚本：</p>
<p>1. <a href="http://userstyles.org/styles/1515">Auto-hide Statusbar</a>：能够自动收缩页面下方的状态栏，鼠标移动上去时会自动浮现。不过其默认为收缩20像素时还留有一小条，修改成23比较合适。<br />
2. <a href="http://userstyles.org/styles/1228">Autohide Bookmark Toolbar</a>：自动收缩书签工具栏的显示。<br />
3. <a href="http://userstyles.org/styles/1262">tabbar autohide for FF2</a>：自动收缩标签栏的显示。隐藏掉后，可以使用Tab+Ctrl来循环显示打开的标签页面，或者使用Ctrl+数字键来按次序选择（支持数字小键盘）。<br />
4. <a href="http://userstyles.org/styles/1562">Menubar AutoHidden</a>：自动收缩菜单工具栏。如果希望保留地址栏和搜索栏的话，也可以使用其它仅收缩菜单的代码。</p>
<p>提示：如果你使用了2, 3, 4其中的两款收缩工具栏的代码时，鼠标只能去控制最上面的那个，所以我平时是保留书签工具栏的显示的，这样还能去激活地址栏和搜索栏来输入文字。</p>
<p><a href="http://e-spacy.com/blog/firefox-stylish.html">via</a><br />
<span style="background-color: green">六、更多文章</span></p>
<ul>
<li><a href="http://playpcesor.blogspot.com/2008/04/stylish.html">Stylish：看著不爽？隨手換掉網站的閱讀版面與視覺效果 | 電腦玩物</a></li>
<li><a href="http://e-spacy.com/blog/firefox-stylish/">E-Space：使用Stylish定制Firefox</a></li>
<li><a href="http://mashable.com/2008/04/14/extreme-gmail-redesigns/">5 Extreme Gmail Makeovers</a></li>
<li><a href="http://www.ooso.net/archives/408">推荐一下Stylish</a></li>
</ul>
<div id="greasedLightboxOverlay">
<div id="greasedLightbox"><img id="greasedLightboxImage" alt="" /></div>
</div>
<p><img id="greasedLightboxPreload" alt="" /><img id="greasedLightboxPrefetch" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://coolxll.me/2009/05/firefox%e9%87%8d%e6%96%b0%e6%8e%a2%e7%b4%a2%e4%bd%a0%e7%9a%84%e7%bd%91%e7%bb%9c%e4%b8%96%e7%95%8c%ef%bc%884%ef%bc%89%e2%80%94%e5%88%80%e4%b8%8e%e5%89%91%c2%b7%e4%b8%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

