Commit Graph

5202 Commits

Author SHA1 Message Date
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
Raymond Hill 4a09c9f866
improve slightly pre-parsing of `##script:...` filters 2017-12-17 10:28:12 -05:00
Raymond Hill 7afc78e866
do not include optional annoyances.txt in extension package 2017-12-17 09:42:24 -05:00
Raymond Hill 367001a3de
address https://github.com/uBlockOrigin/uAssets/issues/1026 2017-12-17 09:37:10 -05:00
Raymond Hill 904e550fc0
new revision for dev build 2017-12-17 08:15:24 -05:00
Raymond Hill dec0b80a72
fix #2877 2017-12-17 08:09:47 -05:00
Raymond Hill f753952adc
new revision for dev build 2017-12-15 10:10:09 -05:00
Raymond Hill 8e7ccef14c
code review for #3331: support relative paths as per https://github.com/AdguardTeam/AdguardBrowserExtension/issues/917 2017-12-15 09:24:06 -05:00
Raymond Hill 912582ce4b
code review: remove space as per https://github.com/AdguardTeam/AdguardBrowserExtension/issues/917 2017-12-15 07:55:15 -05:00
Raymond Hill 6a8c27b6df
fix #3331: ability to fetch sublists using `!# include` directives 2017-12-15 07:39:21 -05:00
Raymond Hill 46d446ec92
fix https://github.com/uBlockOrigin/uAssets/issues/999 2017-12-14 18:28:14 -05:00
Raymond Hill 36956cbc7a
remove obsolete resource caching code 2017-12-14 16:42:54 -05:00
Raymond Hill 2ef892c086
new revision for release candidate 2017-12-14 08:26:36 -05:00
Raymond Hill e54610a1ab
import translation work from https://crowdin.com/project/ublock 2017-12-14 08:21:03 -05:00
Raymond Hill ca8917149d
fix #3341 2017-12-13 08:02:55 -05:00
Raymond Hill 0e9fbce041
import translation work from https://crowdin.com/project/ublock 2017-12-13 07:57:50 -05:00
gorhill 61a259013c
new revision for release candidate 2017-12-10 15:05:11 -05:00
gorhill 958a7c20ed
fix #3335 2017-12-10 15:03:03 -05:00
Raymond Hill fa048990ca
Update README.md 2017-12-08 09:34:14 -05:00