博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ublock origin_Chrome可能会在打破uBlock起源的同时更快地阻止广告
阅读量:2513 次
发布时间:2019-05-11

本文共 3741 字,大约阅读时间需要 12 分钟。

ublock origin

ublock origin

Ad blocker uBlock Origin “can no longer exist” if a proposed change to Chrome goes through. That’s according to , the developer of uBlock Origin and uMatrix, in a comment on Chromium’s bug tracker.

如果对Chrome的更改建议通过,则广告阻止程序uBlock Origin将“不再存在”。 这是uBlock Origin和uMatrix的开发人员所说的,它评论了Chromium的bug跟踪器。

As spotted by , Google engineers are proposing this change in the Chromium project’s bug tracker. Chromium is the open-source browser that forms the basis for Google Chrome, Opera, and soon Microsoft Edge.

正如所指出的那样,Google工程师正在Chromium项目的错误跟踪器中提出这一更改。 Chromium是一种开放源代码的浏览器,是Google Chrome,Opera以及不久的Microsoft Edge的基础。

Don’t worry, though: This won’t break ad blockers entirely. Instead, Google engineers are taking permissions away from browser extensions. Right now, ad blockers and other extensions use the “” API to listen for events during web page loads and block them.

不过请放心:这不会完全破坏广告拦截器。 相反,Google工程师正在剥夺浏览器扩展的权限。 目前,广告拦截器和其他扩展程序使用“ ” API来侦听网页加载期间的事件并将其阻止。

If the proposed change goes through, extensions won’t be able to block events with this API. Extensions can only watch these events, and that should speed up page load times. Chrome won’t have to wait for extensions to weigh in while loading a page.

如果建议的更改通过,则扩展将无法使用此API阻止事件。 扩展程序只能监视这些事件,这将加快页面加载时间。 Chrome浏览器在加载页面时不必等待扩展程序扩展。

Ad blockers must use the “” API to tell Chrome what they want to block. Chrome itself does the blocking without waiting for extensions to respond, and this should be faster. However, declarativeNetRequest uses an Adblock Plus-style filtering system.

广告拦截者必须使用“ ” API告诉Chrome他们要拦截的内容。 Chrome本身无需等待扩展程序响应即可执行阻止操作,这应该更快。 但是,declarativeNetRequest使用Adblock Plus样式的过滤系统。

Raymond Hill notes that, if this change goes through, ad blocker uBlock Origin and content filter uMatrix can’t do anything special:

雷蒙德·希尔(Raymond Hill)指出,如果更改成功,广告拦截器uBlock Origin和内容过滤器uMatrix将无法执行任何特殊操作:

If this (quite limited) declarativeNetRequest API ends up being the only way content blockers can accomplish their duty, this essentially means that two content blockers I have maintained for years, uBlock Origin (“uBO”) and uMatrix, can no longer exist.

如果这种(非常有限的)declarativeNetRequest API最终成为内容阻止程序可以完成其职责的唯一方式,则从本质上讲,这意味着我多年维护的两个内容阻止程序uBlock Origin(“ uBO”)和uMatrix,将不再存在。

Beside causing uBO and uMatrix to no longer be able to exist, it’s really concerning that the proposed declarativeNetRequest API will make it impossible to come up with new and novel filtering engine designs, as the declarativeNetRequest API is no more than the implementation of one specific filtering engine, and a rather limited one (the 30,000 limit is not sufficient to enforce the famous EasyList alone).

除了使uBO和uMatrix不再存在之外,令人担忧的是,提议的declarativeNetRequest API将不可能提出新颖的过滤引擎设计,因为declarativeNetRequest API仅是一种特定过滤的实现引擎和一个相当有限的引擎(30,000的限制不足以单独执行著名的EasyList)。

Even Hill notes that ad blockers aren’t going away if this goes through. This change may speed up Chrome by limiting what all browser extensions can do—ad blocking extensions and other extensions. Chrome will be similar to Apple’s Safari browser, which now supports “” that operate in a speedy, standard way.

连希尔都指出,广告拦截器不会消失。 此更改可能会通过限制所有浏览器扩展的功能(阻止广告扩展和其他扩展)来加快Chrome的速度。 Chrome浏览器将类似于Apple的Safari浏览器,该浏览器现在支持以快速,标准的方式运行的“ ”。

It’s a tradeoff. Browser extensions like uBlock Origin can no longer implement their own filtering engine, but the filtering engine will be a speedy one built into Chrome itself. The whole industry has been moving toward more limited browser extensions. Despite what some people have feared, Google isn’t using this as an opportunity to kill off ad blockers.

这是一个权衡。 像uBlock Origin这样的浏览器扩展无法再实现自己的过滤引擎,但是该过滤引擎将是Chrome内置的快速引擎。 整个行业一直在朝着更有限的浏览器扩展方向发展。 尽管有人担心,但Google并未以此为契机消灭广告拦截器。

翻译自:

ublock origin

转载地址:http://atkwd.baihongyu.com/

你可能感兴趣的文章
Atitit.git的存储结构and 追踪
查看>>
atitit 读书与获取知识资料的attilax的总结.docx
查看>>
B站 React教程笔记day2(3)React-Redux
查看>>
找了一个api管理工具
查看>>
Part 2 - Fundamentals(4-10)
查看>>
使用Postmark测试后端存储性能
查看>>
NSTextView 文字链接的定制化
查看>>
第五天站立会议内容
查看>>
CentOs7安装rabbitmq
查看>>
(转))iOS App上架AppStore 会遇到的坑
查看>>
解决vmware与主机无法连通的问题
查看>>
做好产品
查看>>
项目管理经验
查看>>
笔记:Hadoop权威指南 第8章 MapReduce 的特性
查看>>
JMeter响应数据出现乱码的处理-三种解决方式
查看>>
获取设备实际宽度
查看>>
Notes on <High Performance MySQL> -- Ch3: Schema Optimization and Indexing
查看>>
Alpha冲刺(10/10)
查看>>
数组Array的API2
查看>>
为什么 Redis 重启后没有正确恢复之前的内存数据
查看>>