日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

火狐扩展程序推荐_使用Firefox的RIP扩展程序自定义Web

發布時間:2023/12/14 编程问答 40 豆豆
生活随笔 收集整理的這篇文章主要介紹了 火狐扩展程序推荐_使用Firefox的RIP扩展程序自定义Web 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

火狐擴展程序推薦

Remove It Permanently (RIP) is a Firefox addon that let you modify a web page layout by blocking HTML elements—very useful when we want to change the look and feel of a web page.

永久刪除(RIP)是Firefox的一個插件,可讓您通過阻止HTML元素來修改網頁布局–在我們要更改網頁外觀時非常有用。

We like to use RIP for creating a printer friendly page or removing advertisements from web pages. We can click on any elements on a web page and remove the elements by selecting the appropriate command from the UI. The second method is by specifying the XPath to the HTML elements that we want to block.

我們喜歡使用RIP創建易于打印的頁面或從網頁中刪除廣告。 我們可以單擊網頁上的任何元素,然后通過從UI中選擇適當的命令來刪除這些元素。 第二種方法是通過指定要阻止HTML元素的XPath。

Let us take a look at how we can block HTML elements by selecting them and remove it from the UI.

讓我們看一下如何通過選擇HTML元素并將其從UI中刪除來阻止它們。

刪除廣告 (Removing Advertisements)

Regular Geek is one of the many Tech Blogs that I regularly visited to get a daily dose of geek stuff. Let’s take a look at one of his article.

Regular Geek是我經常訪問的每天都會收到大量geek東西的眾多技術博客之一。 讓我們看一下他的一篇文章。

.

RIP allows us to remove any advertisement from the webpage by selecting each individual ad on the web page.

RIP允許我們通過選擇網頁上的每個廣告來從網頁中刪除任何廣告。

This is what the article looks like after we remove all the advertisement on the page.

這是我們刪除頁面上所有廣告后的樣子。

創建一個打印機友好的網頁 (Creating a Printer Friendly Webpage)

This is what Regular Geek article looks like out of the printer. Look at the wasted top space by text fields the tabs. We can remove those unnecessary items using RIP to create a cleaner print out of the article.

這是打印機上無法看到的Regular Geek文章。 通過選項卡的文本字段查看浪費的頂部空間。 我們可以使用RIP刪除那些不必要的項目,以使文章更整潔。

RIP has a feature where we can remove web page elements by specifying its Xpath.

RIP具有一項功能,我們可以通過指定Xpath來刪除網頁元素。

XPath is a language for finding information in an XML document that we can use to identify specific web elements and remove them from the web page.

XPath是一種用于在XML文檔中查找信息的語言,我們可以用來識別特定的Web元素并將其從Web頁面中刪除。

The Regular Geek’s article header’s XPath looks like this:

Regular Geek的文章標題的XPath如下所示:

//div[@id='headers']
//div[@id='grand_effectbar']

//div[@id='headers']
//div[@id='grand_effectbar']

The article has a better print layout without the header.

沒有標題的文章具有更好的打印布局。

XPath幫助 (Help on XPath)

Xpath can be a little bit daunting if you do not have any experience with it before. A good place to start learning XPath is by reading W3C’s introduction to XPath. Alternatively we can install Firefox plugin such as X-Ray that gives a good visualisation on the web page’s structure.

如果您以前沒有任何經驗,那么Xpath可能會有些令人生畏。 閱讀W3C對XPath的介紹是開始學習XPath的好地方。 或者,我們可以安裝Firefox插件(例如X-Ray) ,以在網頁結構上提供良好的可視化效果。

結論 (Conclusion)

RIP is one option that we can use to remove unwanted web page elements to create a more readable web page. There are other alternatives such as Clippable , an easy to use bookmarklet to produce a printer friendly page version of a web page.

RIP是我們可以用來刪除不需要的網頁元素以創建更具可讀性的網頁的一種選擇。 還有其他選擇,例如Clippable ,這是一種易于使用的書簽,用于生成網頁的打印機友好頁面版本。

翻譯自: https://www.howtogeek.com/53438/customize-the-web-with-the-rip-extension-for-firefox/

火狐擴展程序推薦

總結

以上是生活随笔為你收集整理的火狐扩展程序推荐_使用Firefox的RIP扩展程序自定义Web的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。