
geek
Most people may not be aware of it but there are two user style scripts that have been created just for use with the How-To Geek website. If you are curious then join us as we look at these two scripts at work.
大多數人可能不知道它,但是已經創建了兩個僅用于How-To Geek網站的用戶樣式腳本。 如果您有好奇心,請加入我們,因為我們正在研究這兩個腳本。
Note: User Style Scripts & User Scripts can be added to most browsers but we are using Firefox for our examples here.
注意:可以將用戶樣式腳本和用戶腳本添加到大多數瀏覽器中,但此處示例使用Firefox。
The How-to Geek Wide User Style Script
極客級用戶風格腳本
The first of the two scripts affects the viewing width of the website’s news content. Here you can see everything set at the normal width.
這兩個腳本中的第一個會影響網站新聞內容的查看寬度。 在這里,您可以看到所有設置為正常寬度的東西。

When you visit the UserStyles website you will be able to view basic information about the script and see the code itself if desired.
當您訪問UserStyles網站時,您將能夠查看有關腳本的基本信息,并根據需要查看代碼本身。

On the right side of the page is the good part though. Since we are using Firefox with Greasemonkey installed we chose the the “install as a user script option”. Notice that the script is available for other browsers as well (very nice!)
在頁面的右側是不錯的部分。 由于我們使用的是安裝了Greasemonkey的Firefox,因此我們選擇了“作為用戶腳本安裝選項”。 請注意,該腳本也可用于其他瀏覽器(非常好! )

Within a few moments of clicking on the “install as a user script button” you will see the following window asking confirmation for installing the script.
在單擊“以用戶身份安裝腳本按鈕”的片刻內,您將看到以下窗口,詢問安裝腳本的確認。

After installing the user style script and refreshing the page it has now stretched out to fill 90% of the browser window’s area. Definitely nice!
安裝用戶樣式腳本并刷新頁面后,它現在已經伸展到占瀏覽器窗口面積的90%。 絕對不錯!

The How-To Geek – News and Comments (600px) User Style Script
入門指南–新聞和評論(600px)用戶樣式腳本
The second script can be very useful for anyone with the limited screen real-estate of a netbook. You can see another of the articles from here at the site viewed in a? “normal mode”.
第二個腳本對于上網本屏幕空間有限的任何人都非常有用。 您可以在此處以“正常模式”查看站點中的其他文章。

Once again you can view basic information about this particular user style script and view the code if desired.
您可以再次查看有關此特定用戶樣式腳本的基本信息,并根據需要查看代碼。

As above we have the Firefox/Greasemonkey combination at work so we installed as a user script.
如上所述,我們正在使用Firefox / Greasemonkey組合,因此我們將其安裝為用戶腳本。

This is one of the great things about using Greasemonkey…it always checks with you to make certain that no unauthorized scripts are added.
這是使用Greasemonkey的偉大事情之一……它總是與您確認是否未添加未經授權的腳本。

Once the script was installed and we refreshed the page things looked very very different. All the focus has been placed on the article itself and any comments attached to the article.
安裝腳本并刷新頁面后,情況看起來就非常不同了。 所有焦點都放在文章本身以及該文章所附的任何評論上。

For those who may be curious this is what the homepage looks like using this script.
對于那些可能好奇的人來說,這就是使用此腳本的首頁。

Conclusion
結論
If you have been wanting to add a little bit of “viewing spice” to your browser for the How-To Geek website then definitely pop over to the User Styles website and give these two scripts a try.
如果您想在瀏覽器中為How-To Geek網站添加一些“查看香料”,則可以肯定地跳至User Styles網站,并嘗試這兩個腳本。
Using Opera Browser? See our how-to for adding user scripts to Opera here.
使用Opera瀏覽器? 請在此處查看將用戶腳本添加到Opera的方法。
Links
鏈接
Install the How-to Geek Wide User Style Script
安裝How-to Geek Wide用戶樣式腳本
Install the How-To Geek – News and Comments (600px) User Style Script
安裝How-To Geek –新聞和評論(600px)用戶樣式腳本
Download the Greasemonkey extension for Firefox (Mozilla Add-ons)
下載適用于Firefox的Greasemonkey擴展(Mozilla附加組件)
Download the Stylish extension for Firefox (Mozilla Add-ons)
下載Firefox的時尚擴展程序(Mozilla附加組件)
翻譯自: https://www.howtogeek.com/howto/14278/enjoy-how-to-geek-user-style-script-goodness/
geek