火狐扩展程序推荐

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相关推荐

  1. 火狐标签在中间_在Firefox中轻松组织和分组标签

    火狐标签在中间 Do you like the colored tab grouping feature in Internet Explorer and wish that Firefox had ...

  2. 火狐插件 抓取文本_适用于Firefox的纯文本URL快速修复

    火狐插件 抓取文本 Tired of copying & pasting text-only URLs from websites or forums that do not allow pe ...

  3. stc8g1k08程序范例_通过WiFi对STC单片机程序下载和调试

    简介 本文设计了基于WiFi-UART的STC单片机下载调试模块,这样便于对嵌入式系统进行远程调试开发,特别是在一些具有移动功能的平台,强电平台以及需要实时监视和修改程序的应用场合. 本文相关的下载资 ...

  4. 应用程序迁移_加速绿色IT-关于应用程序迁移和重新托管的实用指南

    应用程序迁移 许多大型应用程序开发和维护帐户都考虑到将核心应用程序和数据库迁移到新环境的问题,从哪里开始,如何计划和实施迁移以及如何避免过程中的陷阱就迷茫了. 缺乏对标准方法论或指南的了解,在为快速有 ...

  5. api 定位 微信小程序 精度_一行代码区分微信小程序或QQ小程序

    背景 很多开发者发现微信小程序的代码作为QQ小程序也能运行,可谓是无缝移植,这点为腾讯开发团队点赞. 但是QQ和微信小程序之间的服务端API有所不同,由此产生了一个需求:判断小程序当前是运行在微信还是 ...

  6. 微信点餐小程序开发_分享微信点餐小程序可以实现哪些功能

    线下餐饮实体店都开始摸索发展网上订餐服务.最多人选择的是入驻外卖平台,但抽成高,推广还要另买流量等问题,也让不少商家入不敷出.在这种情况下,建立自己的微信订餐小程序,做自己的私域流量是另一种捷径.那么 ...

  7. h5 bootstrap 小程序模板_汉中餐饮行业支付宝小程序模板

    汉中餐饮行业支付宝小程序模板 r2y8w85 汉中餐饮行业支付宝小程序模板 在上,都能够开设自身的美妆旗舰店,根据这类方法开展精细化的服务,随后去一些线下用户流量.命名合适的小程序名称商城在搭建过程之 ...

  8. 火狐标签在中间_在Firefox中保留未使用的标签

    火狐标签在中间 If you have a lot of content heavy webpages open in Firefox, it soon adds up on memory usage ...

  9. 火狐 看网页注释_在Firefox内部(外部)创建注释

    火狐 看网页注释 Have you been looking for a note taking extension that can tie in with Firefox and work &qu ...

  10. 火绒规则 禁止所有软件的安装_软件: Firefox 将禁止扩展静默安装

    Mozilla 宣布 Firefox 将禁止被称为 Sideloading 的扩展静默安装方法.计划在 2020 年 3 月 10 日释出的 Firefox v74 将停止支持 Sideloading ...

最新文章

  1. 【阿里巴巴研发效能峰会】低代码与数智化分论坛在线预约中……
  2. BLE简介和Android BLE编程
  3. C++vector容器-数据存取
  4. 【Tensorflow】ValueError: Only call `sigmoid_cross_entropy_with_logits` with named arguments
  5. 企业主机安全面临的三大风险如何解?
  6. 【规范化标准】之 ESLint、Stylelint
  7. 国密算法-商密认证-硬件加密-同方TF32A09-32位高速加密芯片
  8. fifa15服务器位置,《FIFA 15》系统菜单界面图文详解 各游戏模式详解
  9. JSK-19 加一【入门】
  10. 2021牛客暑期多校训练营9,签到题HE
  11. redis演练(7) redis Sentinel实现故障转移
  12. 大工19春计算机文化基础在线测试3,大工19春《计算机文化基础》在线测试3.doc...
  13. (百看不如一练系列)整理的40个前端练手项目|||实践出真知
  14. Revisiting ResNets: Improved Training and Scaling Strategies论文简述
  15. 网站备案后可以换服务器吗,域名备案后可以更换服务器吗
  16. 共享打印机服务器脱机状态,打印机脱机工作怎么恢复 共享的打印机脱机状态...
  17. Matlab 之meshgrid interp griddata interp2
  18. kubernetes访问控制——Authentication认证、Authorization授权、服务账户的自动化
  19. 防火墙NAT综合实验——nat控制,豁免,远程,DMZ区域(带命令)
  20. 当 Spring Cloud 遇上 SOFAStack | Meetup#2 回顾

热门文章

  1. 心跳包、乒乓包、SO_KEEPLIVE
  2. html 好看表格样式,简单但是好看的表格样式
  3. Android-jsoup爬虫
  4. Java定时自动锁屏小程序_小程序 番茄时钟如何实现锁屏持续运行功能
  5. JDBC单独了解一下
  6. 最简单的c语言if程序,C语言简单实用的程序-if else 嵌套式的使用例子
  7. SVN分支管理以及跨分支打包
  8. MENTOR 安装过程
  9. PreferenceScreen 中如何自定义SwitchPreferenceCompat的布局
  10. instantclient使用步骤