1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-17 07:52:42 +01:00
Commit Graph

242 Commits

Author SHA1 Message Date
Raymond Hill
613ff9cc9b
tentatively fix #3478: need feedback from reporter 2018-02-03 09:34:27 -05:00
Raymond Hill
a0375bb6a3
add support for iso-8859-1/windows-1252 encoding (https://github.com/gorhill/uBlock/issues/3391#issuecomment-354868704) 2018-01-05 13:15:56 -05:00
Raymond Hill
4812ac9b68
fix #3399 (part 1) 2018-01-04 18:26:52 -05:00
Raymond Hill
04d84cf92a
fix #3397 2018-01-03 13:59:38 -05:00
Raymond Hill
455bf281f0
fix #3391 2018-01-02 23:06:16 -05:00
Raymond Hill
f659dc8e49
add TODOs comments 2017-12-30 11:21:23 -05:00
Raymond Hill
6ab34efe44
minor code review: remove pointless test 2017-12-29 21:54:03 -05:00
Raymond Hill
3ec9377c3e
code review: disregard case sensitivity 2017-12-29 21:29:57 -05:00
Raymond Hill
a3f7392f06
code review: mind length of data available 2017-12-29 20:33:24 -05:00
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
gorhill
f044854068 this fixes #1359 2016-02-09 18:53:36 -05:00
gorhill
1f345b585f this should fix #1276 2016-01-22 11:13:29 -05:00
gorhill
a7a840500b this fixes https://github.com/gorhill/uBlock/issues/1163#issuecomment-172390974 2016-01-18 00:26:29 -05:00
gorhill
89148351e8 #1163: this implements "block elements by size" 2016-01-17 13:30:43 -05:00
gorhill
91c2763259 this fixes #1171 2016-01-07 17:30:56 -05:00
gorhill
2705432f43 code review 2015-12-02 00:59:51 -05:00
gorhill
46d39838e3 redirect engine: more fine tuning + proof of concept for dayt.se 2015-11-26 17:56:30 -05:00
gorhill
2aadc2a969 new redirect engine: this fixes #949 (the video ad part) 2015-11-23 07:52:50 -05:00
gorhill
3d472beb1b code review: make onHeadersReceive() able to cancel responses 2015-11-09 17:59:19 -05:00
gorhill
47cf6384b2 this fixes https://github.com/gorhill/uMatrix/issues/129 2015-08-13 16:03:37 -04:00
gorhill
fa4e3ca492 this completely fixes #490 2015-07-13 08:49:58 -04:00
gorhill
9276b9919c this fixes #490 2015-07-13 07:41:02 -04:00
gorhill
abb89fd037 this will allow to add "tucows downloads" 2015-07-11 17:40:42 -04:00
gorhill
5d4f96314a this fixes #298 2015-06-11 19:33:30 -04:00
gorhill
0a89e5827a minor code review: just in case 2015-06-11 15:11:01 -04:00
gorhill
fa3b4c887c code review: result can be non-blocking yet non-empty 2015-06-09 11:48:13 -04:00
gorhill
2234933b82 this fixes #59: now accurately reporting static filters in logger 2015-06-09 10:27:08 -04:00
gorhill
53a78ceb39 context provided in title attr of URL in logger (until I figure a better way) 2015-06-04 19:27:03 -04:00
gorhill
4c9d3f63f2 this fixes #248 and other related cases 2015-05-28 14:47:19 -04:00
gorhill
284b4f62d1 dynamic url filtering 2015-05-21 14:15:17 -04:00
gorhill
ba8dd756c9 this fixes #185 2015-05-09 01:16:27 -04:00
gorhill
f9652b5f57 importing uMatrix unified logger 2015-05-08 18:28:01 -04:00
gorhill
6c80790975 one more step to insure tab context is properly set 2015-04-29 10:29:23 -04:00
gorhill
bcbc06b2ff better reporting of switch events in the logger 2015-04-25 00:28:30 -04:00
gorhill
ada732575a forgot to document fix in code re. #111 2015-04-24 07:16:46 -04:00
gorhill
0513c4fd27 this fixes #111 2015-04-24 07:12:12 -04:00
gorhill
361d2ac1a2 dissociate logging infrastructure from page stores 2015-04-23 18:23:03 -04:00
gorhill
27de7d4323 code review: no need for {inline-script} suffix 2015-04-22 09:23:36 -04:00
gorhill
d01a73e636 whitelisting must have precedence over strict blocking 2015-04-09 12:20:24 -04:00
gorhill
651c25c839 fixed popup blocker switch; added ability to manually edit switches 2015-04-09 11:19:31 -04:00
gorhill
6441161329 refactored tabs/context code 2015-04-08 18:46:08 -04:00
gorhill
ef9913c711 this fixes https://github.com/chrisaljoudi/uBlock/issues/1212 2015-04-08 07:04:29 -04:00
gorhill
44bbf356f7 code review for last commit 2015-04-07 21:58:19 -04:00
gorhill
a2caf3c42d this fixes https://github.com/chrisaljoudi/uBlock/issues/1205 2015-04-07 21:26:13 -04:00
YFdyh000
6e77ec33ff Correct issue links 2015-04-07 09:46:26 +08:00
gorhill
d098a9fb3d strict blocking: give choice of domain/hostname on warning page 2015-04-06 10:26:32 -04:00
gorhill
2dde6f15de new switch: toggle cosmetic filtering on/off for a site 2015-04-05 12:03:14 -04:00
gorhill
3d38285100 fixed using uninitialized var 2015-03-31 09:07:14 -04:00
gorhill
5b34efc55e this fixes #1128 2015-03-30 17:42:12 -04:00
gorhill
a1da6df4d6 fine tuning warning page 2015-03-30 13:10:29 -04:00
gorhill
f2ff0edfaf this fixes #1013, #1062 (draft) 2015-03-27 13:00:55 -04:00
gorhill
a4b4bc98ff this fixes #1013 2015-03-25 19:28:22 -04:00
gorhill
58ebcd21c3 code review: floating net requests recategorized as behind-the-scene 2015-03-21 20:30:00 -04:00
gorhill
fb3f17147b code review 2015-03-21 16:52:35 -04:00
gorhill
88b517e6fa code review 2015-03-16 07:46:11 -04:00
gorhill
f648727042 forgot to comment out logging.. 2015-03-15 14:04:07 -04:00
gorhill
1d3dd12fab this fixes #1025 2015-03-15 13:59:17 -04:00
gorhill
aab341dbd9 no need to test parentFrameId for main_frame requests 2015-03-13 10:20:33 -04:00
gorhill
4e9496b2f8 commenting out debugging code 2015-03-13 10:02:33 -04:00
gorhill
ae3e5d3519 oops 2015-03-13 09:55:44 -04:00
gorhill
4a76b6f4d0 this fixes #1001 and subsequent filtering issues (hopefully) 2015-03-13 09:48:10 -04:00
gorhill
0f206fd602 try as much as possible to bind root doc to tab (#1001) 2015-03-13 08:36:12 -04:00
gorhill
6dd4a244fc this fixes #1001 2015-03-13 07:51:57 -04:00
gorhill
8341fb2193 this fixes #967 2015-03-08 11:06:36 -04:00
Deathamns
95b778fbc7 Change extension description 2015-03-07 19:20:18 +01:00
gorhill
1136734e33 this fixes #915 2015-03-02 10:41:51 -05:00
gorhill
6a3f2242b6 this addresses #905#issuecomment-76543649 2015-02-28 15:42:32 -05:00
gorhill
5291e3e27a debugging code 2015-02-26 12:30:12 -05:00
gorhill
b323a335cd this fixes #886 2015-02-25 14:15:36 -05:00
gorhill
bbb2d8d1ff move profiling code to platform-specific 2015-02-03 18:40:56 -05:00
gorhill
8dcc994371 addressing all small details 2015-01-24 12:06:22 -05:00
gorhill
4edfae4b94 code review: jshint'ed 2015-01-21 08:59:23 -05:00
gorhill
255c68baa4 this fixes #536 2015-01-20 19:39:13 -05:00
gorhill
7f78ce2260 bring up to date with master 2015-01-19 18:45:00 -05:00
gorhill
759a156e24 started work on #105, #475, and possibly #510 2015-01-19 18:42:58 -05:00
gorhill
5ee417e110 new revision 2015-01-18 22:26:07 -05:00
gorhill
de88721132 Re. #540: disabling local mirroring for the time being 2015-01-18 19:17:36 -05:00
gorhill
470eef85f3 this fixes #525 2015-01-17 15:03:33 -05:00
gorhill
94453ed878 this fixes #519 2015-01-17 07:53:19 -05:00
gorhill
554129648d this fixes #503 2015-01-16 12:15:12 -05:00
gorhill
b436f8e829 this fixes #490 2015-01-13 11:54:54 -05:00
gorhill
ae2eb25e25 also log root document for convenience 2015-01-07 18:56:03 -05:00
gorhill
1597ce7fd9 lot of work related to dynamic filtering + new net requests logger 2015-01-06 08:01:15 -05:00
gorhill
4cbfb0fa6b semantically better 2015-01-01 10:57:03 -05:00
gorhill
5bfe3b09a7 filtering result has been refactored 2015-01-01 10:55:00 -05:00
gorhill
1fe7045b92 too many changes for #433: branching so that I can commit and keep working on it 2014-12-28 10:07:43 -05:00
gorhill
8eaa92f0a2 for debugging purpose when investigating 2014-12-22 18:38:18 -05:00
Raymond Hill
be082cb666 this fixes #384; more reading required for a long-term solution--if any 2014-11-29 18:26:01 -02:00
Raymond Hill
f149b2e340 jshint 2014-11-24 20:20:21 -02:00
Raymond Hill
338bf59507 give specific message handlers priority over default one 2014-11-16 11:09:28 -02:00
Deathamns
1a83d1a753 Move vAPI into .jshintrc as a global 2014-11-09 17:39:22 +01:00
Deathamns
0886f7e886 Add .jshintrc, and use the "use strict" directive
.jshintrc's otion-set is a personal choice, merely a suggestion.
Beside that, it includes some common globals for specific browsers, so
there's no need to set the globals in every .js file.

In order to force strict coding, "use strict" directive was added into
every .js file.
2014-11-09 17:39:17 +01:00
Deathamns
5b79bf3536 Work on vendor API abstraction, and near complete Safari support 2014-11-09 17:39:12 +01:00