1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-03 17:49:39 +02:00
Commit Graph

8823 Commits

Author SHA1 Message Date
Raymond Hill
404e6252d6
Fix regression causing exceptions to be thrown
Related commit:
- 1c3b45f75d

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1513
2021-03-03 10:51:56 -05:00
Raymond Hill
c80afb805e
Make Firefox dev build auto-update 2021-03-02 13:25:41 -05:00
Raymond Hill
1aef8d6f4f
Import translation work from https://crowdin.com/translate/ublock 2021-03-02 13:20:52 -05:00
Raymond Hill
21a3c9214a
New revision for dev build 2021-03-02 13:10:07 -05:00
Raymond Hill
1c3b45f75d
Expose ability to toggle on/off cname-uncloaking to all users
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1513

Prior to this commit, the ability to enable/disable the
uncloaking of canonical names was only available to advanced
users. This commit make it so that the setting can be
toggled from the _Settings_ pane.

The setting is enabled by default. The documentation should
be clear that the setting should not be disabled unless it
actually solves serious network issues, for example:

https://bugzilla.mozilla.org/show_bug.cgi?id=1694404

Also, as a result, the advanced setting `cnameUncloak` is no
longer available from within the advanced settings editor.
2021-03-02 13:00:56 -05:00
Raymond Hill
794c67c7d2
Merge branch 'master' of https://github.com/gorhill/uBlock 2021-03-02 12:27:46 -05:00
Madis Otenurm
e38de2ae2f
Update issue templates to new format (#3785)
* Update issue templates

* Create config.yml

* Delete bug_report.md

* Delete ISSUE_TEMPLATE.md
2021-03-02 12:25:41 -05:00
Raymond Hill
761e8987c1
Merge branch 'master' of https://github.com/gorhill/uBlock 2021-03-02 12:23:51 -05:00
Raymond Hill
ab2f5c2f6b
Update issue templates to new format (#3784)
* Update issue templates

* Create config.yml

* Delete bug_report.md

* Delete ISSUE_TEMPLATE.md

Co-authored-by: Madis Otenurm <Madis0@users.noreply.github.com>
2021-03-02 12:23:40 -05:00
Raymond Hill
e6727ed87a
Make Firefox dev build auto-update 2021-02-27 07:26:23 -05:00
Raymond Hill
14399e9ca7
New revision for dev build 2021-02-27 07:10:46 -05:00
Raymond Hill
972feae05d
Drop ctrl-key requirement in "Purge all caches" operation
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/lrcwii/memory_use_in_roaming_profile_in_windows/goq6h4n/
2021-02-26 06:48:26 -05:00
Raymond Hill
ac9a3014e6
Make Firefox dev build auto-update 2021-02-22 08:11:02 -05:00
Raymond Hill
8b83eb6c32
New revision for dev build 2021-02-22 08:02:08 -05:00
Raymond Hill
b7a2352c6f
Do not suggest network filters with wildcarded hostname in picker
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1494
2021-02-22 07:57:23 -05:00
Raymond Hill
007a123c63
Make Firefox dev build auto-update 2021-02-22 06:41:14 -05:00
Raymond Hill
57827f8af6
New revision for dev build 2021-02-22 06:34:18 -05:00
Raymond Hill
918a073c81
Fix regression in strict blocking
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/lp6dwp/

Regression from:
- 3af1120082
2021-02-22 06:32:43 -05:00
Raymond Hill
9dcc456da3
Make Firefox dev build auto-update 2021-02-21 07:51:02 -05:00
Raymond Hill
a6718a3b82
New revision for dev build 2021-02-21 07:44:11 -05:00
Raymond Hill
266a7507b8
Fix regression when initializing popup panel
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1505

Regression from:
- 435c91636f
2021-02-21 07:41:09 -05:00
Raymond Hill
2128d1cf29
Make Firefox dev build auto-update 2021-02-20 07:15:51 -05:00
Raymond Hill
3565a0511e
Update comment
DOM logger and inspector are loaded on demand.
2021-02-20 07:05:19 -05:00
Raymond Hill
40b75f1a01
New revision for dev build 2021-02-20 07:04:51 -05:00
Raymond Hill
0dfafc3bd3
Upgrade CodeMirror to 5.59.2
This should fix the following issue:
- https://www.reddit.com/r/uBlockOrigin/comments/lnfyer/

CodeMirror was detecting Windows as iOS:
- https://github.com/codemirror/CodeMirror/issues/6532
2021-02-19 13:07:34 -05:00
Raymond Hill
427eabb628
Make Firefox dev build auto-update 2021-02-19 12:36:00 -05:00
Raymond Hill
47eed89873
New revision for dev build 2021-02-19 12:33:18 -05:00
Raymond Hill
dfa1b64cae
Fix regression when reverting temporary rules in popup panel
Refression from:
- 435c91636f
2021-02-19 12:32:07 -05:00
Raymond Hill
373792714a
Make Firefox dev build auto-update 2021-02-19 09:05:45 -05:00
Raymond Hill
b263d4d83e
Import translation work from https://crowdin.com/translate/ublock 2021-02-19 08:57:13 -05:00
Raymond Hill
1024f60fc9
new revision for dev build 2021-02-19 08:48:16 -05:00
Raymond Hill
3af1120082
Add support for exception of document to bypass strict-blocking
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1501

Exception filters for `document` option are complying with
uBO's own semantic for `document` option, i.e. an exception
filter for `document` option will only allow to bypass a
block filter for `document` (either explicit or implicit)
and nothing else.

Exception filters using `document` option are *not*
compatible with ABP's interpretation of these filters.
Whereas in ABP the purpose of a `document` exception filter
is to wholly disable content blocking, in uBO the same
filter will just cause strict-blocking to be disabled while
leaving content blocking intact.

Additionally, the logger was fixed to properly report pages
which are being strict-blocked.
2021-02-19 08:38:50 -05:00
Raymond Hill
96049f147e
Reflect latest changes in comment 2021-02-19 08:38:07 -05:00
Raymond Hill
eb6be3a0cf
Fix 'adsbygoogle' neutered script
As per internal feedback.

The `length` property exists if the `adsbygoogle` object
is instantiated before the `adsbygoogle.js` script has
been loaded, but is no longer present once the
`adsbygoogle.js` script has been loaded.
2021-02-19 08:31:58 -05:00
Raymond Hill
b5768b0654
Make Firefox dev build auto-update 2021-02-17 09:46:10 -05:00
Raymond Hill
aa81639d87
New revision for dev build 2021-02-17 09:39:03 -05:00
Raymond Hill
9c3205b37c
Inject procedural cosmetic filterer's code only when needed
The procedural cosmetic filtering code has been split from
the content script code injected unconditionally and will
from now on be injected only when it is needed, i.e. when
there are procedural cosmetic filters to enforce.

The motivation for this is:
https://www.debugbear.com/blog/2020-chrome-extension-performance-report#what-can-extension-developers-do-to-keep-their-extensions-fast

Though uBO's content script injected unconditionally in all
pages/frames is relatively small, I still wanted to further
reduce the amount of content script code injected
unconditionally: The procedural cosmetic filtering code
represents roughly 14KB of code the browser won't have to
parse/execute unconditionally unless there exists procedural
cosmetic filters to enforce for a page or frame.

At the time the above article was published, the total
size of unconditional content scripts injected by uBO was
~101 KB, while after this commit, the total size will be
~57 KB (keeping in mind uBO does not minify and does not
remove comments from its JavaScript code).

Additionally, some refactoring on how user stylesheets are
injected so as to ensure that `:style`-based procedural
filters which are essentially declarative are injected
earlier along with plain, non-procedural cosmetic filters.
2021-02-17 09:12:00 -05:00
Raymond Hill
c6745a0276
Make Firefox dev build auto-update 2021-02-15 07:06:15 -05:00
Raymond Hill
a5a39ff504
Merge branch 'master' of github.com:gorhill/uBlock 2021-02-15 06:58:34 -05:00
Raymond Hill
494db7e11a
New revision for dev build 2021-02-15 06:58:24 -05:00
Raymond Hill
435c91636f
Count allowed/blocked requests for 3rd-party scripts/frames
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/210

Additionally, a small (experimental) widget has been added
to emphasize/de-emphasize rows which have 3rd-party
scripts/frames, so as to more easily identify which rows
are "affected" by 3rd-party scripts and/or frames.

Tooltip localization for the new widget is not available
yet as I want wait for the feature to be fully settled.
2021-02-15 06:52:31 -05:00
Raymond Hill
b8d6f27eb3
Update README.md 2021-02-11 18:04:53 -05:00
Raymond Hill
595383a88f
Update README.md 2021-02-11 18:03:51 -05:00
Raymond Hill
e2b988aed9
Update README.md 2021-02-08 16:15:52 -05:00
Raymond Hill
55365969e5
Add links to uBO in supported browser stores 2021-02-08 16:13:59 -05:00
Raymond Hill
a96b18e1a7
Make Firefox dev build auto-update 2021-02-04 07:05:26 -05:00
Raymond Hill
c2ca7b6852
New revision for dev build 2021-02-04 06:57:00 -05:00
Raymond Hill
3715b32d93
Import translation work from https://crowdin.com/project/ublock 2021-02-04 06:55:25 -05:00
Raymond Hill
de1ed2c519
Replace "EasyList China" with "AdGuard Chinese"
As discussed internally with list maintainers:

- EasyList China doesn't leverage uBO's extended
  filter syntax

- EasyList China's home page is no longer available
  to the public

Additionally, "CJX's EasyList Lite" has been removed
from stock lists, as the list hosted on GitHub is no
longer updated, and "AdGuard Chinese" is the official
list to enable to address all filter issues for
Chinese sites.
2021-02-02 08:30:02 -05:00
Raymond Hill
a66615725e
Make Firefox dev build auto-update 2021-01-31 10:45:47 -05:00