![]() The big advantage of this new filter is that it can fix at the source many of the anti-blocker workarounds used by some web sites.įor example, the web site at will resort to deface itself with ridiculous ads when the site detects that the user is using a blocker, and using EasyList + EasyList Germany does not work, as the images pulled by the page are randomly named, defeating pattern-based network filters and cosmetic filters as well. In the cat and mouse game between web sites and blockers, the new script tag filter is a welcomed new tool on the user side, to foil attempt by site to work around blockers. This filter means: for any web pages from the foo.example web site, remove all inline script tags which contains the string nuisanceCode. Here is a example of a web page's HTML code with two inline script tags:įoo.example#^script:has-text(nuisanceCode) Inline script tags are those blocks of JavaScript code which are embedded in the main page: they can not be blocked from downloading unless the whole page itself is blocked, which is not very useful. Block all inline script tags embedded in a page at once.Block external script resources: these are taken care by network filtering.There are many ways to block script tags from executing in uBlock Origin: Through the use of the inline-script static filter option ( ||^$inline-script), or through the use of a dynamic filtering block rule for inline scripts. ![]()
0 Comments
Leave a Reply. |