adblock

Adblock. Add css class or remove attribute from element

与世无争的帅哥 提交于 2021-02-17 14:56:42
问题 Is it possible to add css rule to an element at some page by adblock? Something like this #myElement { color: white !important; } I tried to find a script that updates style of this element on page load but it seems that it is not a best way. 回答1: It's possible to do it on uBlock Origin and Adguard (as far as I know). Each has its own syntax for the styling rules, but uBlock is capable understanding both. Here is an example of a CSS rule that changes Twitter background: twitter.com#$#body

Adblock. Add css class or remove attribute from element

喜你入骨 提交于 2021-02-17 14:56:20
问题 Is it possible to add css rule to an element at some page by adblock? Something like this #myElement { color: white !important; } I tried to find a script that updates style of this element on page load but it seems that it is not a best way. 回答1: It's possible to do it on uBlock Origin and Adguard (as far as I know). Each has its own syntax for the styling rules, but uBlock is capable understanding both. Here is an example of a CSS rule that changes Twitter background: twitter.com#$#body

Adblock. Add css class or remove attribute from element

让人想犯罪 __ 提交于 2021-02-17 14:54:57
问题 Is it possible to add css rule to an element at some page by adblock? Something like this #myElement { color: white !important; } I tried to find a script that updates style of this element on page load but it seems that it is not a best way. 回答1: It's possible to do it on uBlock Origin and Adguard (as far as I know). Each has its own syntax for the styling rules, but uBlock is capable understanding both. Here is an example of a CSS rule that changes Twitter background: twitter.com#$#body

Adblock. Add css class or remove attribute from element

旧城冷巷雨未停 提交于 2021-02-17 14:54:56
问题 Is it possible to add css rule to an element at some page by adblock? Something like this #myElement { color: white !important; } I tried to find a script that updates style of this element on page load but it seems that it is not a best way. 回答1: It's possible to do it on uBlock Origin and Adguard (as far as I know). Each has its own syntax for the styling rules, but uBlock is capable understanding both. Here is an example of a CSS rule that changes Twitter background: twitter.com#$#body

List of AD urls in easylist

扶醉桌前 提交于 2021-02-08 03:59:24
问题 How Adblockplus uses https://easylist-downloads.adblockplus.org/easylist.txt to detect a url is an AD url? The regexes mentioned in this file contains '#' which does not seem to be a legit regex character. Can anyone point me to the code (https://github.com/adblockplus/adblockplus/tree/master/lib) where ADblock plus uses the list to categorize a url. 回答1: Finally I found how AdblockPlus uses the easylist subscription rules to remove adverts from English webpages, including unwanted frames,

XMLHTTPRequest response doesnt contain Location field in the header

回眸只為那壹抹淺笑 提交于 2021-02-04 19:34:26
问题 I was trying to modify the adblockplus code for testing purpose. I was modifying the code to send a http get request on a URL and get the final URL from the response. I tried using the below code, but the response doesn't contain the Location field in the header response. I am doing this within a firefox-extension, so I dont think cross-domain request would be any issue. Why is it that I am not able to fetch the Location field from the response? Is there a better way to accomplish this task ?

推荐2款藏了很久的Chrome神器

若如初见. 提交于 2020-12-05 10:16:30
做开发的想必Chrome不装几十个插件感觉都不能提现自己的高大上,但是仔细一想真正关键重要的呢? 在做前后端联调数据的时候,常常打开chrome插件Network面板,但是由于插件过多导致Network面板会产生一些插件加载的数据,影响整个排错。 所以我一般会用一键切换关闭所有插件,最终只剩下2个必备的插件。 这两个必备插件就是我今天推荐的,老少皆宜。 广告屏蔽插件 Adblock AdBlock我相信绝大多数的人都装过了,可以说是最好的广告拦截工具,拥有超过1亿用户,下载量超过3.5 亿次! 自动过滤各种广告,弹窗,还可以配置白名单,可以说是非常好用贴心的,从我接触Chrome插件,我就使用上了。一直这么久我卸载过非常多插件,唯独这个不离不弃,相伴这么久。 如果你没用过就真的out了。 密码管理工具1Password 1Password这个神器工具,其实我很早就说过了,密码管理这个是怎么强调不为过,这个插件唯一缺点就是需要同步安装1Password这个付费APP,阻止了很多人。 但是真的别去节约这个钱,该付费就付费, 1Password密码管理可以说是最强的工具,没有之一,很多同学说我用lastpass,这个简直差远了,不是一个级别的,无论是安全性便利性都不是能比较的。 作为一个长期在互联网上混的人来说,简直是必备神器,我现在密码库里面有近700个密码

PageFair:22%的上网者屏蔽广告 广告屏蔽的年增长率为43%

纵然是瞬间 提交于 2020-11-20 08:19:45
帮助网站检测广告屏蔽的公司PageFair发表 报告 称,根据从使用其服务的220家网站上收集的数据, 22%的Web冲浪者屏蔽广告 ,广告屏蔽的年增长率为43%。 PageFair还利用Google趋势指出,过去一年adblock的搜索量翻了一番。报告还发现,使用Mozilla Firefox和Google Chrome浏览器的用户更可能屏蔽广告,原因可能是流行的广告屏蔽插件是为 Firefox和Chrome开发的;而使用苹果Safari和微软IE浏览器的用户似乎更乐意浏览广告。 今年早些时候,游戏网站Destructoid发现,接近五成的用户利用插件屏蔽了广告,创始人Niero Gonzalez称,广告是他们收入的主要来源,因为ad-blocker他们的收入出现下降,他呼吁网站访问者启用广告白名单。 转载自:199IT 来源: oschina 链接: https://my.oschina.net/u/1162384/blog/159673