Commit Graph

8743 Commits

Author SHA1 Message Date
Raymond Hill a1241e0806
Don't use `self` to access `vAPI` in content script
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1571

Testing through `self` breaks the injection of
`contentscript-extra.js` in Firefox 66.0 and
earlier.
2021-04-29 13:04:59 -04:00
Raymond Hill bab6d611eb
Import translation work from https://crowdin.com/project/ublock 2021-04-29 11:41:59 -04:00
Raymond Hill d156c4d4a8
Make Firefox dev build auto-update 2021-04-29 08:46:52 -04:00
Raymond Hill 68d950030d
New revision for dev build 2021-04-29 08:40:46 -04:00
Raymond Hill fca4db8021
Better handle network error when fetching sublist
Reported internally:

> STR --
>
> Import https://cdn.statically.io/gh/uBlockOrigin/uAssets/master/filters/filters.txt
> as a Custom filter list.
>
> Observe the filter count at 24K instead of true count
> being 29K.
>
> Force updating is sometimes compiling 24K filters and
> on subsequent updates 29K, so I narrowed it down to
> this host.

Findings:

One of the sublists was erroring when being fetched on
this particular CDN server (reason unknown).

uBO was not properly handling network errors when
fetching a sublist. This commit make it so that if
a sublist can't be fetched, then the error is propagated
as if it affected the whole list, in which case uBO will
use an alternative URL if any.
2021-04-29 08:32:32 -04:00
Raymond Hill 4d12ae1387
Add new CDN for "uBlock filters"
As per internal discussion.
2021-04-28 14:02:49 -04:00
Raymond Hill aa376314b9
Drop `cdn.statically.io` as CDN for "uBlock filters"
Some sublists fail to load with this CDN, and
uBO fails to properly error out on the whole
list in such case, causing a truncated whole
list to be used in the end.
2021-04-28 13:32:12 -04:00
Raymond Hill d307bbd134
Add missing getResponseInformation() method to neutered JS API
Related issue:
- https://github.com/uBlockOrigin/uAssets/issues/8970

Adding the missing method does not solve the janky
scrolling, but does solve the spurious error messages
in the page's dev console.
2021-04-27 10:07:37 -04:00
Raymond Hill a9f22b0ae0
Make Firefox dev build auto-update 2021-04-27 09:06:55 -04:00
Raymond Hill 2e8d2aa1ce
New revision for dev build 2021-04-27 09:02:04 -04:00
Raymond Hill 81fadf836f
Stop autoplay for unset media source with no-large-media-elements
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/mxgpmc/
2021-04-27 08:59:59 -04:00
Raymond Hill 2a5e67e3f5
Use CDN URLs as fall back URLs
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1566#issuecomment-826473517

Additionally, add more CDN URLs to default filter lists.
2021-04-27 08:56:07 -04:00
Raymond Hill 0f580ec204
New revision for stable release 2021-04-21 09:34:15 -04:00
Raymond Hill c736407a04
Import translation work from https://crowdin.com/project/ublock 2021-04-21 09:33:05 -04:00
Raymond Hill 1fc3b57ba5
Replace EasyList Dutch with EasyDutch
As per internal discussion with list maintainers.

Also, related discussion:
- 31a6438704
2021-04-21 09:12:47 -04:00
Raymond Hill 6793f0ed8e
Make Firefox dev build auto-update 2021-04-19 09:50:51 -04:00
Raymond Hill 74d3ca4707
New revision for release candidate 2021-04-19 09:12:04 -04:00
Raymond Hill 2a8fcfad9e
Import translation work from https://crowdin.com/project/ublock 2021-04-19 08:51:34 -04:00
Raymond Hill a98b03240b
Fix https://github.com/uBlockOrigin/uBlock-issues/issues/1560 2021-04-18 09:54:26 -04:00
Raymond Hill e2a85730de
Make Firefox dev build auto-update 2021-04-16 09:10:43 -04:00
Raymond Hill b2e304a4ed
new revision for release candidate 2021-04-16 09:03:20 -04:00
Raymond Hill 912bdce9cd
Normalize `removeparam` to `removeparam`, not `queryprune` 2021-04-16 08:59:57 -04:00
Raymond Hill 299eacbbf8
Make Firefox dev build auto-update 2021-04-14 11:15:44 -04:00
Raymond Hill 0016d5e7ca
New revision for release candidate 2021-04-14 11:05:51 -04:00
Raymond Hill 0ff6acd419
Import translation work from https://crowdin.com/project/ublock 2021-04-14 11:02:09 -04:00
Raymond Hill bc8c1d00ad
Remove advanced setting `ignoreScriptInjectFilters`
This advanced setting is not really needed, as the
same can be accomplished with a broad exception
filter such as `#@#+js()`.

Related feedback:
- f5b453fae3 (commitcomment-49499082)
2021-04-14 10:56:04 -04:00
Raymond Hill 83c4dc3bac
Make Firefox dev build auto-update 2021-04-13 10:36:11 -04:00
Raymond Hill 5712ea834f
New revision for dev build 2021-04-13 10:27:49 -04:00
Raymond Hill 12347b85b0
Import translation work from https://crowdin.com/project/ublock 2021-04-13 10:27:01 -04:00
Raymond Hill d0189d78ce
Import translation work from https://crowdin.com/project/ublock 2021-04-13 09:38:07 -04:00
Raymond Hill 58505cfddc
Finalize 3rd-party scripts/frames mini-filtering widget
For now the mini-filtering widget on 3rd-party scripts/frames
cells will allow to emphasize rows which have 3rd-party
scripts and/or frames.

Somewhat related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/210
2021-04-13 09:08:53 -04:00
Raymond Hill f5b453fae3
Remove advanced setting `ignoreScriptInjectFilters`
Ever since the `redirect` code was refactored:

157cef6034

This advanced setting is no longer needed, as the same
can be accomplished with a plain network filter:

    @@*$redirect-rule
2021-04-13 08:49:10 -04:00
Raymond Hill d7c2e38f00
Make Firefox dev build auto-update 2021-04-11 09:50:36 -04:00
Raymond Hill 51a073efd8
New revision for dev build 2021-04-11 09:41:53 -04:00
Raymond Hill bfdc81e9e4
Ensure FLoC is opt-in by default
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1553

This commit ensures FLoC is opt-in. The generic filter
`*##+js(no-floc)` in "uBlock filters -- Privacy" ensures
the feature is disabled when using default settings/lists.

Users can opt-in to FLoC by adding a generic exception
filter to their custom filters, `#@#+js(no-floc)`; or they
can opt-in only for a specific set of websites through a
more specific exception filter:

    example.com,shopping.example#@#+js(no-floc)
2021-04-11 09:36:56 -04:00
Raymond Hill 5a48917b80
Add no-floc scriptlet
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1553
2021-04-11 07:11:09 -04:00
Raymond Hill 7bf9a83d8e
Make Firefox dev build auto-update 2021-04-06 10:26:18 -04:00
Raymond Hill c9bfea5bf8
New revision for dev build 2021-04-06 10:14:33 -04:00
Raymond Hill d338e4c4b6
Add support for "remove all properties" in json-prune scriptlet
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1545
2021-04-06 10:12:34 -04:00
Raymond Hill 9a94ba0a22
Fix regex used to extract attribute name in element picker
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/mh2ctv/
2021-03-31 12:21:29 -04:00
Raymond Hill 97619cf8f5
Revert "Use gitcdn.link instead of gitcdn.xyz"
This reverts commit 60b9aa2f38.

Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/megq9g/
2021-03-27 12:19:34 -04:00
Raymond Hill 60b9aa2f38
Use gitcdn.link instead of gitcdn.xyz
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1533
2021-03-21 08:17:33 -04:00
Raymond Hill 634724cf29
Add fallback URLs for "IRN: Adblock-Iran"
Main URL is currently failing. Reported internally.
2021-03-20 07:41:24 -04:00
Raymond Hill 0aae08bb9a
Make Firefox dev build auto-update 2021-03-14 09:25:20 -04:00
Raymond Hill ea8b228650
New revision for dev build 2021-03-14 09:20:26 -04:00
Raymond Hill b68a800851
Fix regression causing dynamic URL pane to disappear
Reported internally.

Related commit:
- f876b68171
2021-03-14 09:18:51 -04:00
Raymond Hill a9756f5f51
Make Firefox dev build auto-update 2021-03-13 09:45:36 -05:00
Raymond Hill 8897707763
new revision for dev build 2021-03-13 09:39:47 -05:00
Raymond Hill b1228f9d51
Add missing new JS file
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1527#issuecomment-798449462

Related commit:
- f876b68171
2021-03-13 09:38:29 -05:00
Raymond Hill 9d5f2fa558
Make Firefox dev build auto-update 2021-03-13 09:21:12 -05:00