1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-09 12:22:33 +01:00
Commit Graph

9411 Commits

Author SHA1 Message Date
Raymond Hill
5f8c179642
New revision for dev build 2021-10-03 09:48:56 -04:00
Raymond Hill
c0a43b0d32
Add refresh-defuser scriptlet
To specifically defuse the reloading of a document through
a meta "refresh" tag.

Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/q0frv0/

As per solution from AdGuard:
- https://www.reddit.com/r/uBlockOrigin/comments/q0frv0/while_reading_a_sports_article_i_was_redirected/hf7wo9v/
2021-10-03 09:46:24 -04:00
Raymond Hill
9cd69ce1bd
Update submodules 2021-09-30 08:51:01 -04:00
Raymond Hill
f9b3fad6e7
Make Firefox dev build auto-update 2021-09-27 07:46:04 -04:00
Raymond Hill
607cf46a93
New revision for dev build 2021-09-25 12:42:45 -04:00
Raymond Hill
a6cd954a2a
Fix handling of negated types in all filter option
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1730

Related commit:
- 8f98622374
2021-09-25 12:36:33 -04:00
Raymond Hill
6d21bd4af9
Fix usage documentation
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1734
2021-09-25 07:47:40 -04:00
Raymond Hill
20564ccaf5
New revision for dev build 2021-09-24 11:11:57 -04:00
Raymond Hill
1130746a9b
Fix regression with important filter option
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1732

The regression affect filter with the `important` option when
the following conditions were fulfilled:

- The filter pattern is pure hostname
- The filter has not one of the following options:
  - domain
  - denyallow
  - header
  - strict1p, strict3p
  - csp
  - removeparam
- There is a matching exception filter

Related commit:
- a2a8ef7e85

A related mocha test has been added in order to detect this
specific regression in the future through `make test`.
2021-09-24 11:09:32 -04:00
Raymond Hill
4edafa97a3
New revision for dev build 2021-09-23 09:48:19 -04:00
Raymond Hill
8f98622374
Refactor implementation of ~[type] filter options
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1730

A new filter unit, FilterNotType, is introduced to enforce
negated filter type options.

Before this commit, there was no actual negated types in the
static network filtering engine, as a negated type was internally
converted to non-negated types at compile time. As a result,
the logger would never output a matching filter with its original
negated type options.

This commit no longer causes an internal conversion to take place
at compile time, but explicitly enforce negated types at match time,
and as a result the logger will from now on output matching filter
with their original negated type options.
2021-09-23 09:38:27 -04:00
Raymond Hill
f49c4e254b
Add advanced setting to default modify webext flavor
Name: modifyWebextFlavor

Value: A list of space-separated tokens to be added/removed from the
computed default webext flavor.

The primary purpose is to give filter list authors the ability to
test mobile flavor on desktop computers. Though mobile versions of
web pages can be emulated using browser dev tools, it's not
possible to do so for uBO itself.

By using `+mobile` as a value for this setting will force uBO
to act as if it's being executed on a mobile device.

Important: this setting is best used in a dedicated browser
profile, as this affects how filter lists are compiled. So best
to set it in a new browser profile, then force all filter lists
to be recompiled, and use the profile in the future when there
is a need to test the specific webext flavor.
2021-09-22 09:37:21 -04:00
Raymond Hill
33a18c3a1e
Convert fingerprint2.js scriptlet into a redirectable resource
As per internal discussion with volunteer filter list
maintainers.
2021-09-18 10:55:22 -04:00
Raymond Hill
348f5aa2aa
New revision for stable release 2021-09-17 15:47:33 -04:00
Raymond Hill
33dd0104cc
Update submodules 2021-09-17 15:38:32 -04:00
Raymond Hill
4b95420e59
New revision for release candidate 2021-09-15 08:32:33 -04:00
Raymond Hill
4100761863
Keep ability to prevent local IP address leaks for mobile version
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1723

Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1723#issuecomment-919913361
2021-09-15 08:28:10 -04:00
Raymond Hill
831cf478da
Revert "Remove now obsolete webrtc-related setting"
This reverts commit af41aadab7.
2021-09-15 07:40:32 -04:00
Raymond Hill
a6c031b890
New revision for dev build 2021-09-14 10:07:40 -04:00
Raymond Hill
af41aadab7
Remove now obsolete webrtc-related setting
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1723

The leaking of local IP addresses is no longer an issue
in modern browsers.
2021-09-14 10:04:35 -04:00
Raymond Hill
826335178a
Make Firefox dev build auto-update 2021-09-13 11:01:03 -04:00
Raymond Hill
5efa2f2e4c
Update submodules 2021-09-13 10:53:23 -04:00
Raymond Hill
0e3f26ff05
Import translation work from https://crowdin.com/project/ublock 2021-09-13 10:53:00 -04:00
Raymond Hill
59b8b74eb5
New revision for release candidate 2021-09-13 10:50:34 -04:00
Raymond Hill
d930504e3e
Better lookup all elements under mouse cursor in element picker
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/pefaov/elementpickerzapper_often_misses_images/hcnycbx/?context=3
2021-09-13 10:39:17 -04:00
Raymond Hill
1219d57561
Make Firefox dev build auto-update 2021-09-12 12:36:01 -04:00
Raymond Hill
49158ac7d4
New revision for release candidate 2021-09-12 12:21:38 -04:00
Raymond Hill
a3a66d0e31
Avoid parsing query parameters with URLSearchParams
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1717
2021-09-12 12:17:46 -04:00
Raymond Hill
670c5f1a7b
Merge branch 'master' of https://github.com/gorhill/uBlock 2021-09-12 10:48:48 -04:00
Raymond Hill
68dfe98045
Add visual hint to grab area of element picker dialog
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1714
2021-09-12 10:47:40 -04:00
Manish Jethani
b83e2d4e2b
Fix ESLint warning in useLists() (#3855) 2021-09-11 09:33:32 -04:00
Raymond Hill
2effd7ba3d
Make Firefox dev build auto-update 2021-09-11 09:26:39 -04:00
Raymond Hill
076830b6ca
New revision for release candidate 2021-09-11 09:19:20 -04:00
Raymond Hill
1cd4cd8877
Add dependency on assets/resources 2021-09-11 09:16:20 -04:00
Raymond Hill
745fbd1c02
Add no-xhr-if scriptlet
As per request from filter list maintainers.
2021-09-11 09:15:39 -04:00
Raymond Hill
eaffbc55ee
Merge branch 'master' of https://github.com/gorhill/uBlock 2021-09-09 08:17:57 -04:00
Raymond Hill
a5c5a7df5e
Update submodules 2021-09-09 08:13:35 -04:00
Raymond Hill
1ce7a1ed3a
Update submodules 2021-09-09 08:00:52 -04:00
Raymond Hill
8e296dd671
Fix update-submodules script 2021-09-07 13:50:52 -04:00
Raymond Hill
68b15ed5d8
Update submodules 2021-09-07 13:49:43 -04:00
Raymond Hill
b6e1a621d5
Make Firefox dev build auto-update 2021-09-04 12:06:17 -04:00
Raymond Hill
b0d9afb38f
New revision for release candidate 2021-09-04 11:58:48 -04:00
Raymond Hill
c105f9965e
Import translation work from https://crowdin.com/project/ublock 2021-09-04 11:57:51 -04:00
Manish Jethani
f316a326cf
Use native Punycode conversion (#3854) 2021-09-04 08:44:26 -04:00
Raymond Hill
430537632c
Make Firefox dev build auto-update 2021-09-01 18:36:22 -04:00
Raymond Hill
781b77b402
New revision for dev build 2021-09-01 18:31:21 -04:00
Raymond Hill
6703ede9e8
Better diff output 2021-09-01 18:26:36 -04:00
Raymond Hill
5dd91211ae
Catch exceptions thrown Object.defineProperty
Related issue:
- https://github.com/uBlockOrigin/uAssets/issues/9883

Related commit:
- a9e6f9c72c
2021-09-01 18:25:20 -04:00
Raymond Hill
79a2678f00
Update submodules 2021-08-29 12:23:02 -04:00
Raymond Hill
d41f28fcd8
Add median cost output to dig-snfe 2021-08-29 08:58:20 -04:00