1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-06 19:02:30 +01:00
Commit Graph

8655 Commits

Author SHA1 Message Date
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
Raymond Hill
09134b275a
New revision for dev build 2021-01-31 10:36:01 -05:00
Raymond Hill
3bb73065e3
Fix broken forward compatibility re. imported lists
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1480

Forward compatiblity was broken due to `externalLists`
being converted into an Array from a string, i.e.
downgrading to uBO 1.32.4 was completely breaking uBO.

This commit restores `externalLists` as a string which
is what older versions of uBO expect.

A new property `importedLists` has been created to
hold the imported lists as an array, while
`externalLists` will be kept around for a while until
it is completely removed in some future.
2021-01-31 10:30:12 -05:00
Raymond Hill
93ed308741
Make Firefox dev build auto-update 2021-01-30 15:25:26 -05:00
Raymond Hill
d47a9a0d7a
New revision for dev build 2021-01-30 15:19:44 -05:00
Raymond Hill
0390bb8b8a
Fix potential spurious redirection in whitelisted tabless contexts
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1478
2021-01-30 15:08:21 -05:00
Raymond Hill
28b25f5e5a
Import translation work from https://crowdin.com/project/ublock 2021-01-29 10:46:16 -05:00
Raymond Hill
19cb5ce78b
New revision for stable release 2021-01-29 10:37:12 -05:00
Raymond Hill
b40498b947
Make Firefox dev build auto-update 2021-01-28 10:01:14 -05:00
Raymond Hill
d3cb29ff1e
New revision for release candidate 2021-01-28 09:49:24 -05:00
Raymond Hill
3101c5fa22
Upload non-filtered rules to cloud storage
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1472
2021-01-28 09:43:14 -05:00
Raymond Hill
16e74cf68b
Make Firefox dev build auto-update 2021-01-23 09:55:32 -05:00
Raymond Hill
bb5265e94f
New revision for release candidate 2021-01-23 09:48:17 -05:00
Raymond Hill
001f5a6500
Add any-delay to timeout/interval boosters
Using `*` as delay argument will match any
delay.

As per internal feedback from filter list
maintainers.
2021-01-23 09:45:44 -05:00
Raymond Hill
5657bc466c
Make Firefox dev build auto-update 2021-01-22 09:50:42 -05:00
Raymond Hill
97e4dccb00
New revision for stable release 2021-01-22 09:41:05 -05:00
Raymond Hill
40c145d76a
Fix handling of cname-aliased URLs in click-to-load widget
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1455
2021-01-22 09:37:12 -05:00
Raymond Hill
bac7873edd
Make Firefox dev build auto-update 2021-01-21 10:20:54 -05:00
Raymond Hill
fb35ad0350
New revision for release candidate 2021-01-21 10:14:36 -05:00