Commit Graph

8949 Commits

Author SHA1 Message Date
Raymond Hill e983f9a76e
Disable creation of cosmetic filters in picker when unenforceable
Related issue:
- https://github.com/gorhill/uBlock/issues/3212

The element picker will now properly work on sites where
cosmetic filtering is disabled, but will not allow the
creation of cosmetic filters when specific cosmetic filters
are not meant to be enforced in the current page.

When specific cosmetic filters are not meant to be enforced,
the element picker will still allow the creation of network
filters, that is unless the current page is trusted, in which
case using the element picker is pointless.
2021-07-12 11:55:58 -04:00
Raymond Hill f1a453d349
Avoid pointless check of doc id, presence of doc origin is what matter
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1657
2021-07-12 11:26:25 -04:00
Raymond Hill 717d8593c5
Improve the logger accuracy regarding matched part of the URL
Related issue:
- https://github.com/gorhill/uBlock/issues/3037

This takes care of the specific case reported. There are
other edge cases which are likely not addressed though, i.e.
those involving wildcards -- those should be rather rare and
at this point I rather leave them unaddressed to not
risk regressions (as they are less trivial to address).
2021-07-11 10:11:26 -04:00
Raymond Hill c2859712fb
Make Firefox dev build auto-update 2021-07-10 16:50:50 -04:00
Raymond Hill 4b10881965
New revision for dev build 2021-07-10 16:37:07 -04:00
Raymond Hill 27c633e054
Better handle negated behhvior types
Related issue:
- https://github.com/gorhill/uBlock/issues/2385
2021-07-10 16:35:52 -04:00
Raymond Hill ed5dd0a791
Use location.replace() to modify URL of embedded frame
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1648
2021-07-10 09:56:36 -04:00
Raymond Hill def2013692
Make Firefox dev build auto-update 2021-07-07 11:00:54 -04:00
Raymond Hill c4cbc1cc1e
New revision for dev build 2021-07-07 10:54:06 -04:00
Raymond Hill d3b1ca333c
Make getByName() return an dummy Tracker object
Related issue:
- https://www.reddit.com/r/uBlockOrigin/comments/o44syz/ublock_origin_136_announcement_thread/h4big1n/
2021-07-07 10:52:16 -04:00
Raymond Hill f2899c1f8a
Make Firefox dev build auto-update 2021-07-06 10:26:46 -04:00
Raymond Hill 3df8f78148
New revision for dev build 2021-07-06 10:15:24 -04:00
Raymond Hill b75921c2fd
Limit recursion when parsing URL in document-blocked page
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1649
2021-07-06 10:13:50 -04:00
Raymond Hill a7184a7874
Merge branch 'master' of https://github.com/gorhill/uBlock 2021-07-06 10:01:46 -04:00
Raymond Hill 0952dd52c6
Add "Block access to LAN" as stock list
Enabling the list did NOT cause measurable difference in
results of built in benchmark.
2021-07-06 10:01:26 -04:00
Raymond Hill 33bc430aad
Add "Block access to LAN" as stock list
Enabling the list did cause measurable difference in
results of built in benchmark.
2021-07-06 09:42:10 -04:00
Raymond Hill 8f45d9a50e
Make Firefox dev build auto-update 2021-07-03 09:31:53 -04:00
Raymond Hill 80a81284dc
Import translation work from https://crowdin.com/project/ublock 2021-07-03 09:26:21 -04:00
Raymond Hill c91b4258e9
Put back mistakenly removed newline 2021-07-03 09:23:06 -04:00
Raymond Hill e36b4b4057
New revision for dev build 2021-07-03 09:21:38 -04:00
Raymond Hill 35d7406214
Add `asap` behavior to `remove-attr` scriptlet
Related issue:
- https://github.com/uBlockOrigin/uAssets/issues/9528
2021-07-03 09:19:24 -04:00
Raymond Hill 5a7600925b
Make Firefox dev build auto-update 2021-06-26 12:30:53 -04:00
Raymond Hill 2c6a81e81c
New revision for dev build 2021-06-26 12:14:50 -04:00
Raymond Hill 4422c42788
Discard network filters containing invalid pattern characters
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1146
2021-06-26 12:12:25 -04:00
Raymond Hill b41463d437
Skip handling non-media elements 2021-06-25 07:24:00 -04:00
Raymond Hill 163035dc92
Drop the `v` from build version 2021-06-25 07:18:11 -04:00
Raymond Hill 2a8c85b132
Add "AdGuard URL Tracking" list as stock lists (under "Privacy") 2021-06-25 07:09:22 -04:00
Raymond Hill 14076fe8c0
Take care of misreporting spurious filter syntax error
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1596
2021-06-24 11:48:27 -04:00
Raymond Hill 3b5aacac12
Make Firefox dev build auto-update 2021-06-24 11:16:27 -04:00
Raymond Hill 0dbe581c5b
Ensure pending callbacks are called only once 2021-06-24 11:08:55 -04:00
Raymond Hill 10efc35610
Import translation work from https://crowdin.com/project/ublock 2021-06-24 11:07:38 -04:00
Raymond Hill 2efb961085
New revision for dev build 2021-06-24 11:05:03 -04:00
Raymond Hill 81521256e7
Exclude trusted sites from no-popups-switch
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1616
2021-06-24 11:02:06 -04:00
Raymond Hill ad15a5dd51
Map `csp_report` to `other`
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1622
2021-06-24 08:09:18 -04:00
Raymond Hill 39a51a6e43
Import translation work from https://crowdin.com/project/ublock 2021-06-19 11:22:50 -04:00
Raymond Hill b129e9c329
New revision for stable release 2021-06-19 11:20:08 -04:00
Raymond Hill 91e9a4c34f
Make Firefox dev build auto-update 2021-06-17 10:16:18 -04:00
Raymond Hill 86ff2404f8
Import translation work from https://crowdin.com/project/ublock 2021-06-17 10:03:50 -04:00
Raymond Hill 60e269576f
New revision for release candidate 2021-06-17 10:00:53 -04:00
Raymond Hill 090614dd18
Use `firstElementChild` instead of `childElementCount`
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1620

Related bugzilla issue:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1715841
2021-06-17 09:58:18 -04:00
Raymond Hill 6291168e9a
Make Firefox dev build auto-update 2021-06-14 07:46:01 -04:00
Raymond Hill 2ea5fa57e3
Import translation work from https://crowdin.com/project/ublock 2021-06-14 07:41:03 -04:00
Raymond Hill c698a5ead2
New revision for release candidate 2021-06-14 07:37:53 -04:00
Raymond Hill 581e9a1c0c
Also process existing pending callbacks
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1629
2021-06-14 07:36:49 -04:00
Raymond Hill 2693f4e0c2
Make Firefox dev build auto-update 2021-06-12 13:36:26 -04:00
Raymond Hill 2bb7a9d6ab
New revision for release candidate 2021-06-12 13:28:50 -04:00
Raymond Hill 8877ea290e
Do not redirect when no query parameters are removed
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1626
2021-06-12 13:26:21 -04:00
Raymond Hill 40c75b63e6
Make Firefox dev build auto-update 2021-06-12 09:41:17 -04:00
Raymond Hill c212fac473
Import translation work from https://crowdin.com/project/ublock 2021-06-12 09:30:09 -04:00
Raymond Hill 0cfadc9d17
New revision for release candidate 2021-06-12 09:27:13 -04:00