Commit Graph

7909 Commits

Author SHA1 Message Date
Raymond Hill 000886002d
Fix regression in reverse lookup of cosmetic filters
Related commit:
- d1715fb19f
2020-07-04 10:11:53 -04:00
Raymond Hill 5e949981e0
Make Firefox dev build auto-update 2020-07-04 07:26:15 -04:00
Raymond Hill 6d5f882128
New revision for dev build 2020-07-04 06:30:00 -04:00
Raymond Hill a5ba668c38
Fix infinitely appending style property
Related issue:
- https://github.com/NanoAdblocker/NanoCore/issues/348
2020-07-03 15:07:52 -04:00
Raymond Hill d1715fb19f
Fix logger's reverse-lookup of selectors with no `\w` characters
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1139
2020-07-03 14:32:12 -04:00
Raymond Hill 941898e54e
Fix highligthing of FQDN match in logger
Related feedback:
- https://github.com/uBlockOrigin/uAssets/issues/7619#issuecomment-653010310

Also fixed strict-blocking of URL using FQDN.
2020-07-03 14:28:03 -04:00
Raymond Hill 324b4fe9c1
Make Firefox dev build auto-update 2020-07-03 09:06:00 -04:00
Raymond Hill ab45466445
Fix bad extension name as a result of Crowdin mixup
Not sure how this happened.
2020-07-03 08:55:06 -04:00
Raymond Hill 3adb239443
Use "Trusted sites" instead of "Whitelist"
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1114

For now I picked "Trusted sites", unless someone comes up with
a better expression to refer to sites onwhich uBO is disabled.
2020-07-03 08:50:49 -04:00
Raymond Hill aab3812089
Ignore `!#include` directives within inactive `!#if`/`!#endif` blocks
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1113
2020-07-03 08:43:40 -04:00
Raymond Hill ae57affea5
New revision for dev build 2020-07-02 12:40:51 -04:00
Raymond Hill a6355cecea
Output built-in benchmark results regardless of `consoleLogLevel` 2020-07-02 12:39:40 -04:00
Raymond Hill 8f3d8cde7a
Add support to compare delay against literal Number.NaN in nossif/nostif
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1136
2020-07-02 11:47:49 -04:00
Raymond Hill dd6f41aaa9
New revision for stable build 2020-06-30 17:00:16 -04:00
Raymond Hill a358e70ab6
Make Firefox dev build auto-update 2020-06-28 08:45:33 -04:00
Raymond Hill ad04b7c7e3
New revision for release candidate 2020-06-28 08:39:09 -04:00
Raymond Hill c6397e3d30
Fix handling of non-punycodable Unicode characters
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1118#issuecomment-650730158
2020-06-28 08:28:29 -04:00
Raymond Hill 13ded677f6
Make Firefox dev build auto-update 2020-06-27 08:20:30 -04:00
Raymond Hill 7b08012854
New revision for release candidate 2020-06-27 08:12:51 -04:00
Raymond Hill a08cdd721a
Fix edge case involving filter with a single wildcard
This fix the case of the following filter:

    trk*.vidible.tv

Not matching:

    https://trk.vidible.tv/trk/.vidible.tv

The wildcard is supposed to match any number of
characters, including zero characters. The issue
is that the code was not matching zero characters.

This is due to an incorrect comparison in
BidiTrieContainer.indexOf(), causing the code to
bail out before testing for the zero character
condition.
2020-06-27 07:58:46 -04:00
Raymond Hill ca0c48717b
Make Firefox dev build auto-update 2020-06-26 10:21:18 -04:00
Raymond Hill 1760294741
New revision for release candidate 2020-06-26 10:12:59 -04:00
Raymond Hill f433932d86
Add support for wildcard/array in json-prune
Add support for specially-named properties:

`[]`, to iterate through all elements in an array, in
order to deal more graciously with cases where the
property to remove is an element in an array. An
actual case:

    +js(json-prune, playlist.movies.0.adserver playlist.movies.1.adserver ...)

Can be now converted to:

    +js(json-prune, playlist.movies.[].adserver)

`*`, to iterate through all own properties of an object,
in order to deal with random-named properties. For
example (not an actual case):

    +js(json-prune, playlist.*.adserver)

Where `adserver` would be a property member of an
object which is itself a property of `playlist`, but
which name is unknown or is variable.
2020-06-26 10:03:48 -04:00
Raymond Hill da6cdf977e
Make Firefox dev build auto-update 2020-06-25 17:35:33 -04:00
Raymond Hill b4a06e9fe8
Import translation work from https://crowdin.com/project/ublock 2020-06-25 17:28:51 -04:00
Raymond Hill 726f03febc
new revision for release candidate 2020-06-25 17:26:53 -04:00
Raymond Hill db198b0904
Fix regression in pure hostname filters with wildcard
The regression broke filters of the form:

    ||trk*.vidible.tv^

The new parser will eventually interpret differently
wildcard characters when they are used in a manner
meant to represent only hostname-valid characters,
but this will come in a future version -- for now
the default meaning must be preserved until the
static network filtering engine is modified to
enforce the new interpretation.
2020-06-25 17:13:42 -04:00
Raymond Hill c4d39d3763
Fix cookie removal on subdomains of base domain
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1126
2020-06-24 17:18:14 -04:00
Raymond Hill d95bab1e43
Make Firefox dev build auto-update 2020-06-21 13:45:22 -04:00
Raymond Hill 730fa92d18
New revision for release candidate 2020-06-21 13:33:23 -04:00
Raymond Hill ec4de80345
Revert "Reject downloaded lists which are deemed truncated"
This reverts commit de219dae26.
2020-06-21 13:31:13 -04:00
Raymond Hill 22864cc3a9
Make Firefox dev build auto-update 2020-06-21 08:25:24 -04:00
Raymond Hill 63f1b866e7
Import translation work from https://crowdin.com/project/ublock 2020-06-21 08:17:18 -04:00
Raymond Hill 7405455419
New revision for release candidate 2020-06-21 08:13:46 -04:00
Raymond Hill 86d28b57c3
Outright reject patterns with more than one space character
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1118

This is not a complete fix for the reported issue, but this
should catch many reported cases of invalid filters in the
wild.
2020-06-21 08:08:18 -04:00
Raymond Hill 2ea6769065
Make Firefox dev build auto-update 2020-06-19 11:51:17 -04:00
Raymond Hill 178d006873
New revision for stable build 2020-06-19 11:39:02 -04:00
Raymond Hill de219dae26
Reject downloaded lists which are deemed truncated
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/hbpo86/

For unknown reasons at this point, it appears some users
end up with a truncated version of EasyList, leading to
improper blocking in uBO.

This commit adds a heuristic to discard a downloaded list
when its new size is more than 25% smaller than the
currently cached version.
2020-06-19 11:35:44 -04:00
Raymond Hill 774fb15ebb
Make Firefox dev build auto-update 2020-06-18 11:41:08 -04:00
Raymond Hill 1bbacb0864
New revision for release candidate 2020-06-18 11:34:56 -04:00
Raymond Hill 64cfc5779d
Use `default_public_interface_only` in Chromium-based browser
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/hbea3z/

It appears the implementation of the `disable_non_proxied_udp`
setting changed in Chromium, leading to WebRTC becoming
wholly unfunctional. Fall back to use `default_public_interface_only`
in Chromium-based browsers.
2020-06-18 11:30:05 -04:00
Raymond Hill f889dc6e11
Make Firefox dev build auto-update 2020-06-18 08:36:18 -04:00
Raymond Hill 05c040ab8b
New revision for release candidate 2020-06-18 08:30:55 -04:00
Raymond Hill 5295bd2280
Import translation work from https://crowdin.com/project/ublock 2020-06-18 08:00:53 -04:00
Raymond Hill 3f9c5b9bc4
Fix regression in syntax highlighting
Specifically, fix trailing comments improperly
rendered as filter option.

Regression from:
- https://github.com/gorhill/uBlock/commit/6d8b310d9422#diff-fb99537d908d0afc8d76e7c98bbc9fea
2020-06-17 12:32:52 -04:00
Raymond Hill d9dc098d58
Make Firefox dev build auto-update 2020-06-17 08:30:49 -04:00
Raymond Hill 73f83b8333
New revision for release candidate 2020-06-17 08:15:15 -04:00
Raymond Hill bbf1cb22a0
Improve auto-completion heuristics
Related commit:
- 3e72a47c1f
2020-06-17 08:12:47 -04:00
Raymond Hill 001e1ea21e
Fix syntax-highlighting of regex-based filters
Regression from:
- https://github.com/gorhill/uBlock/commit/6d8b310d9422#diff-fb99537d908d0afc8d76e7c98bbc9fea
2020-06-16 18:56:26 -04:00
Raymond Hill 4dc920484c
Make Firefox dev build auto-update 2020-06-16 11:00:37 -04:00