Commit Graph

5220 Commits

Author SHA1 Message Date
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 fcd2124ad3
new revision for dev build 2018-01-04 18:30:23 -05:00
Raymond Hill 4812ac9b68
fix #3399 (part 1) 2018-01-04 18:26:52 -05:00
Raymond Hill 21b52ec10b
code review: remove pointless test 2018-01-04 17:55:59 -05:00
Raymond Hill 053476949c
Update README.md 2018-01-04 15:15:41 -05:00
Raymond Hill e4783bf68d
Update README.md 2018-01-04 14:51:33 -05:00
Raymond Hill 1c1fdde4d2
new revision for dev build 2018-01-03 14:07:57 -05:00
Raymond Hill 04d84cf92a
fix #3397 2018-01-03 13:59:38 -05:00
Raymond Hill 5a468be661
import translation work from https://crowdin.com/project/ublock 2018-01-02 23:25:42 -05:00
Raymond Hill 9049909d2d
new revision for dev build 2018-01-02 23:22:40 -05:00
Raymond Hill 455bf281f0
fix #3391 2018-01-02 23:06:16 -05:00
Raymond Hill 636dcf7ee4
fix #3383 2018-01-01 07:52:03 -05:00
Raymond Hill fc26b5d227
new revision for dev build 2017-12-31 21:15:22 -05:00
Raymond Hill e675ccf73e
fix improper reporting of internal filter in logger [Firefox] 2017-12-31 21:13:46 -05:00
Raymond Hill ce696e5fbe
fix #3386 2017-12-31 21:13:06 -05:00
Raymond Hill d8d1fa5221
new revision for dev build 2017-12-31 16:06:45 -05:00
Raymond Hill ec29c9a127
fix #3382 2017-12-31 16:05:23 -05:00
Raymond Hill 35eaf267e6
new revision for dev build 2017-12-31 08:46:58 -05:00
Raymond Hill 37fde84a45
code review #3367 + improve compatibility with Adguard filters 2017-12-31 08:44:29 -05:00
Raymond Hill 17dfec5759
fix #3372 2017-12-30 18:55:01 -05:00
Raymond Hill 1cd61063fa
fix #3380 2017-12-30 17:38:07 -05:00
Raymond Hill e84e79f96e
fix #3367 2017-12-30 16:02:34 -05:00
Raymond Hill 9f89c67f3f
import translation work from https://crowdin.com/project/ublock 2017-12-30 11:26:06 -05:00
Raymond Hill 96576df1e4
new revision for dev build 2017-12-30 11:22:03 -05:00
Raymond Hill f659dc8e49
add TODOs comments 2017-12-30 11:21:23 -05:00
Raymond Hill f7c02e237f
code review for #3331: increase restrictions
Only resources from within current directory will be allowed,
everything else will be silently rejected.
For example, this will forbid pulling lists from different repos
on GitHub, despite the lists being same origin.
2017-12-30 11:05:15 -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 93e76ecf5d
new revision for dev build 2017-12-29 20:36:31 -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 ff67cf5ada
new revision for dev build 2017-12-29 15:56:53 -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 5c20182948
fix regression in per-list filter counts (reported by @mapx-) 2017-12-29 13:31:37 -05:00
Raymond Hill 707d7708a1
code review: fix recursivity in HTML filtering's procedural selectors 2017-12-29 10:26:50 -05:00
Raymond Hill 31791f2dd2
code review: caller always expect an array as return value 2017-12-29 09:02:26 -05:00
Raymond Hill a25166be92
new revision for dev build 2017-12-29 08:06:40 -05:00
Raymond Hill a8d79feecd
fix #3379 (regression from a9f68fe02f) 2017-12-29 08:05:50 -05:00
Raymond Hill fd1410ac9f
import translation work from https://crowdin.com/project/ublock 2017-12-28 14:26:03 -05:00
Raymond Hill 8d4f2a2d11
new revision for dev build 2017-12-28 14:24:04 -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
Raymond Hill d2df01dc08
remove unused library 2017-12-27 09:46:12 -05:00
Raymond Hill 3f335ad432
address incomplete fix for #2877 as per feedback: dec0b80a72 (commitcomment-26447318) 2017-12-23 08:14:08 -05:00
Raymond Hill 4f5f3652ed
code review re last commit b446f9f8bd 2017-12-22 11:56:27 -05:00
Raymond Hill b446f9f8bd
fix regression reported in dec0b80a72 (commitcomment-26435928) by partially reverting changes from 4a09c9f866 2017-12-22 11:45:07 -05:00
Raymond Hill dfcfa5ab9e
fix shell script for Opera 2017-12-22 09:57:28 -05:00
Raymond Hill 8688461b1a
import translation work from https://crowdin.com/project/ublock 2017-12-22 09:44:55 -05:00
Raymond Hill 11ccf8e2b9
new revision for dev build 2017-12-22 09:43:28 -05:00
Raymond Hill 4ab63e70fe
code review: avoid Array.splice/unshift
The array size stays the same, items are just moved around.
2017-12-22 09:37:26 -05:00
Raymond Hill 607968de7f
code review: cache most-recently-used pre-filled scriptlets 2017-12-21 17:05:25 -05:00