Commit graph

133 commits

Author SHA1 Message Date
Raymond Hill
b36320c643
code review: improve scriptlet inject code in stream data listener 2017-12-29 20:26:03 -05:00
Raymond Hill
6f8099fb90
fix regression in scriptlet injection: mind BOM sequence in response data filtering 2017-12-29 15:56:15 -05:00
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
387eaa0b21
fix #3185 2017-11-16 10:55:28 -05:00
gorhill
b02fcb1b31
fix #3130 2017-11-16 00:34:01 -05:00
gorhill
bc036724c1
code review (#3208) 2017-11-09 15:46:25 -05:00
gorhill
3dcfc302e4
fix https://github.com/gorhill/uBlock/issues/3208#issuecomment-342900031 2017-11-08 13:29:04 -05:00
gorhill
95b25f7d49
fix #3150 2017-10-19 09:35:28 -04:00
gorhill
143e9c7414
more code review re. #3140 2017-10-19 08:07:00 -04:00
gorhill
7e21eec7ce
code review for #3140: handle case where both blockedURI & sourceFile are not found 2017-10-19 00:45:24 -04:00
gorhill
eb7bdba47f
fix #3140 2017-10-18 15:00:22 -04:00
gorhill
dfe18111b9
fix #1539 2017-09-11 09:53:42 -04:00
gorhill
eb3519b075
fix #2839 2017-08-03 10:18:05 -04:00
gorhill
b429e1c7ba
fix #2813 2017-07-22 16:58:08 -04:00
gorhill
1581ec20d8
fix #2659 (regression) 2017-05-28 16:57:02 -04:00
gorhill
c1589cafaa
fix popup panel layout as per feedback: 39aeaa12a7 (commitcomment-22310294) 2017-05-28 13:32:08 -04:00
gorhill
d50e76745d
fix #2658 2017-05-28 12:21:56 -04:00
gorhill
95f29c98fd
fix #2658 2017-05-28 10:53:13 -04:00
gorhill
853f012802
fix #2631: regression introduced in 0232382695 2017-05-19 20:21:28 -04:00
gorhill
fcf43d972e
tentatively fix issue reported in #2612 re. FFox 24.8.1 2017-05-19 10:12:55 -04:00
gorhill
0464075dfc
code review: fix "logger enabled" code paths re. csp injection 2017-05-17 09:25:11 -04:00
gorhill
0232382695
refactor static network filtering, add support for csp injection 2017-05-12 10:35:11 -04:00
gorhill
e50a05a8d0
minor code review 2017-04-26 12:50:05 -04:00
gorhill
3ce3ed2a0e
code review: simplify CSP injection code 2017-04-24 19:11:13 -04:00
gorhill
d7f751d42b
fix #2440 2017-03-16 19:14:25 -04:00
gorhill
7e55ddf16b re. websocket: mind backward compatibility 2017-03-06 17:53:25 -05:00
gorhill
2213b005a0 forgot to add "ws://*/*"/"wss://*/*" to enable support for websocket type" 2017-03-06 17:34:46 -05:00
gorhill
4d1ed37556 Firefox WebExt readiness (#622) + support more webRequest types when available (websocket, font, csp_report) 2017-03-05 08:25:55 -05:00
gorhill
7176ecb3e7 code review of fix to #2360 2017-02-07 08:05:39 -05:00
gorhill
a742f09dd4 fix #2360 2017-02-06 15:34:31 -05:00
gorhill
d79a781bea report blanket websocket blocking once only 2017-01-25 09:21:16 -05:00
gorhill
54032e520b fix https://github.com/gorhill/uBO-Extra/issues/19 2017-01-17 18:18:28 -05:00
gorhill
d913eea1f6 fix #2132 + various minor code review 2016-11-08 15:53:08 -05:00
gorhill
c6793eff98 code review re. #2067 2016-11-03 23:42:03 -04:00
gorhill
8c3da95d65 fix #2067 (experimental) + support for hidden settings 2016-11-03 11:20:47 -04:00
gorhill
70ab1a26de code review re. #1884, as per feedback at https://bugs.chromium.org/p/chromium/issues/detail?id=637577#c15 2016-10-17 09:37:59 -04:00
gorhill
cbefeb923c fix #1884 2016-10-14 10:06:34 -04:00
gorhill
3ff3ae7d70 fix #2053 2016-10-08 10:15:31 -04:00
gorhill
751e34f3ce fix #2050 2016-10-05 18:18:32 -04:00
gorhill
d4ce29397a code review re. 60f60c2c97 2016-08-31 05:19:16 -04:00
gorhill
35b46cab4c code review re. 60f60c2c97 2016-08-30 22:45:24 -04:00
gorhill
60f60c2c97 fix spurious strict blocking when other is used (https://github.com/uBlockOrigin/uAssets/issues/123#issuecomment-243602934) 2016-08-30 19:55:41 -04:00
gorhill
0db340450e code review re. #1943 2016-08-29 08:10:18 -04:00
gorhill
bbc00ebb81 fix #1943 2016-08-29 07:55:13 -04:00
gorhill
3a459bbc5e fix https://github.com/gorhill/uBlock/issues/1936#issuecomment-242964554 2016-08-28 06:40:41 -04:00
gorhill
8586aee848 fix #1936: ability to foil WebSocket using a CSP directive 2016-08-27 11:08:56 -04:00
gorhill
46a87a649b fix #1909 2016-08-18 11:54:38 -04:00
gorhill
2725479709 better fix for https://bugzilla.mozilla.org/show_bug.cgi?id=1232354, as pointed out in comments 2016-08-15 22:50:24 -04:00
gorhill
8374799c7d various minor code review 2016-06-30 22:03:29 -04:00
gorhill
95d0ffafb7 this fixes #870 2016-03-22 10:19:41 -04:00