Commit Graph

6 Commits

Author SHA1 Message Date
Raymond Hill a9f68fe02f
Fix #3069, and consequently #3374, #3378.
A new filtering class has been created: "static extended filtering".
This new class is an umbrella class for more specialized filtering
engines:
- Cosmetic filtering
- Scriptlet filtering
- HTML filtering

HTML filtering is available only on platforms which support modifying
the response body on the fly, so only Firefox 57+ at the moment.

With the ability to modify the response body, HTML filtering has
been introduced: removing elements from the DOM before the source
data has been parsed by the browser.

A consequence of HTML filtering ability is to bring back script tag
filtering feature.
2017-12-28 13:49:02 -05:00
gorhill eb7bdba47f
fix #3140 2017-10-18 15:00:22 -04:00
gorhill 04a41d8b22
fix bad regex: all URLs were seen as needing punycoding 2017-09-13 13:08:31 -04:00
gorhill 40cfd1505e
further fix #2950: FF56 also suffers non-punycoded URLs 2017-09-02 11:56:59 -04:00
gorhill 8116afabc4
use "let": this code is not meant for chromium 2017-09-02 09:57:44 -04:00
gorhill a0c595d02d
fix #2950 2017-09-02 06:11:33 -04:00