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

10209 Commits

Author SHA1 Message Date
Raymond Hill
21110b0ff1
Use Unicode copyright symbol
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2336
2022-11-15 10:25:25 -05:00
Raymond Hill
a7213c1054
Revert "Update README.md"
This reverts commit 1854009c74.
2022-11-15 10:01:05 -05:00
Raymond Hill
2c0ecc0bad
Merge branch 'patch-2' 2022-11-15 09:50:55 -05:00
Raymond Hill
2cc6835de0
Use placeholders to minimize vertical shifting at page load time
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2361
2022-11-15 09:44:19 -05:00
Raymond Hill
e68537513f
Sort of fix DOM inspector's visual with webpages in dark theme mode
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/discussions/2359#discussioncomment-4126129

Removing `color-scheme` property fixes the issue. Not sure why.
2022-11-14 11:49:59 -05:00
Raymond Hill
b778f9dac2
Fix AM)-signing script after changes in jwt
jwt.encode() now returns string type.

Reference:
- https://pyjwt.readthedocs.io/en/stable/changelog.html#improve-typings
2022-11-14 10:31:04 -05:00
Raymond Hill
3c6fddf697
Make Firefox dev build auto-update 2022-11-14 10:30:32 -05:00
Raymond Hill
d5a936ddf8
New revision for dev build 2022-11-14 10:02:33 -05:00
Raymond Hill
f716fe3960
Remove now obsolete shell script re. uAssets 2022-11-14 10:01:56 -05:00
Raymond Hill
17590c5a0c
Use git clone instead of submodule to pull uAssets dependencies
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2358

We need two different branches of uAssets to properly add the
default filter lists into the packages. I couldn't figure out
how to do this with submodules, using simple `git clone` as a
dependency just work.
2022-11-14 09:50:53 -05:00
Raymond Hill
90ca2ad3cf
Update submodules 2022-11-13 16:31:56 -05:00
Raymond Hill
14d4eeab32
Update submodules 2022-11-13 13:55:56 -05:00
Raymond Hill
53b172a82a
Update submodules 2022-11-13 12:30:07 -05:00
Raymond Hill
1052dc5001
Import translation work from https://crowdin.com/project/ublock 2022-11-13 11:36:31 -05:00
Raymond Hill
4a01affa0e
Undo mistakenly committed changes to the element picker
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2360
2022-11-13 11:07:41 -05:00
Raymond Hill
502fcee546
Make Firefox dev build auto-update 2022-11-12 11:46:16 -05:00
Raymond Hill
eb80158254
New revision for dev build 2022-11-12 11:29:14 -05:00
Raymond Hill
73c2decdf5
Ensure procedural filters are applied at least once
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/discussions/2261#discussioncomment-4123057

Cosmetic filters will be applied unconditionally at least
once at DOMContentLoaded time.
2022-11-12 11:22:49 -05:00
Raymond Hill
3d24b89078
Fix dom.text() returning textContent 2022-11-12 10:35:40 -05:00
Raymond Hill
feaa338678
Code maintenance: replace uDom.js with dom.js
`uDom` is old and crusty and `dom` is meant as replacement. The
goal of `dom` is to be simpler and mainly just convenience
methods for handling the DOM with vanilla JS -- this is not a
framework.

Additionally, removed keyboard shortcuts pane which was useful
only on very old versions of Firefox.
2022-11-12 09:51:22 -05:00
Raymond Hill
95f1b2f1bc
Update submodules 2022-11-10 18:23:04 -05:00
Raymond Hill
7d0714965f
[mv3] Fixed undue delay in 1st application of cosmetic procedural filters
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/discussions/2261#discussioncomment-4105044
2022-11-10 15:34:02 -05:00
Raymond Hill
5b6fc43a2c
[mv3] Use Set instead of array to avoid spurious script updates
Spurious updates to registered content scripts would occur when
using some regional lists, for example DEU would cause spurious
updates to registered script `css-procedural`.
2022-11-10 12:46:25 -05:00
Raymond Hill
abe2ecba6b
Make Firefox dev build auto-update 2022-11-10 10:40:55 -05:00
Raymond Hill
3e4a394db9
new revision for dev build 2022-11-10 10:33:42 -05:00
Raymond Hill
b1a14794bf
Test for unsupported pseudo operators after normalization
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2356
2022-11-10 10:32:22 -05:00
Raymond Hill
2e134a0c46
Make Firefox dev build auto-update 2022-11-10 09:45:48 -05:00
Raymond Hill
95812573fc
New revision for dev build 2022-11-10 09:36:57 -05:00
Raymond Hill
20181e9f18
Properly detect unsupported pseudo operators
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/yr8eda/
2022-11-10 09:30:52 -05:00
Raymond Hill
4d4a5f3807
Mind implicit prelude * element in pseudo operators
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2355
2022-11-10 08:47:54 -05:00
Raymond Hill
b7b53eef14
[mv3] Add support for no-xhr-if/no-fetch-if scriptlets 2022-11-09 11:25:18 -05:00
Raymond Hill
8c33847428
Added data about old popup panel 2022-11-08 16:53:04 -05:00
Raymond Hill
304fa7e39e
Merge branch 'master' of https://github.com/gorhill/uBlock 2022-11-08 13:19:44 -05:00
Raymond Hill
0e52b15897
New revision for stable release 2022-11-08 13:16:23 -05:00
gorhill
c0c9d452a7 Update build log file
Files changed:\nM	dist/mv3/log.txt
2022-11-07 14:16:31 +00:00
Raymond Hill
59acba3628
Make Firefox dev build auto-update 2022-11-06 17:30:35 -05:00
Raymond Hill
0bd5ba374f
New revision for dev build 2022-11-06 17:24:26 -05:00
Raymond Hill
8a34425ca5
Avoid redundant logger entries for scriptlet injection
Report only when the scriptlets have been successfully injected.
2022-11-06 17:23:06 -05:00
Raymond Hill
47cb7baff0
Make Firefox dev build auto-update 2022-11-06 17:16:32 -05:00
Raymond Hill
a88d783c91
New revision for dev build 2022-11-06 17:05:31 -05:00
Raymond Hill
c65114ee5e
Add support for Belarusian language 2022-11-06 17:04:56 -05:00
Raymond Hill
49df063191
Try to inject scriptlets at onResponseStarted() time
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2350

As per AdGuard findings, it's possible (though unreliable) to try
to inject scriptlets at webRequest.onResponseStarted time, which
increases scriptlet injection reliability overall when injecting
from multiple entry points.

uBO was already injecting at webNavigation.onCommitted and
main content script time, and adding webRequest.onResponseStarted
as an entry point for scriptlet injection increases reliability
for webpages which executes inline scripts at the top of the DOM.

References:
- https://github.com/AdguardTeam/AdguardBrowserExtension/issues/1029
- https://github.com/AdguardTeam/AdguardBrowserExtension/blob/9ab85be5/Extension/src/background/webrequest.js#L620
2022-11-06 16:54:32 -05:00
Raymond Hill
e0e68a24d2
Import translation work from https://crowdin.com/project/ublock 2022-11-06 13:11:23 -05:00
Raymond Hill
6574ede152
[mv3] Do not merge rules with errors
Related issue:
- https://github.com/uBlockOrigin/uBOL-issues/issues/10#issuecomment-1304822579
2022-11-06 11:21:02 -05:00
gorhill
77e1af790b Update build log file
Files changed:\nM	dist/mv3/log.txt
2022-11-05 15:15:13 +00:00
Raymond Hill
6f90596e3b
[mv3] Add support for csp= filters
Network filters with csp= option will now be enforced.

Caveat: DNR API does not have support for exception csp= rules,
so excepted csp= filters are currently rejected at conversion time.
2022-11-05 11:09:06 -04:00
Raymond Hill
36bfa27c30
Rearrange code flow 2022-11-04 11:08:41 -04:00
Raymond Hill
123cb0b0f4
Make Firefox dev build auto-update 2022-11-04 11:00:31 -04:00
Raymond Hill
292554e7d8
New revision for release candidate 2022-11-04 10:56:27 -04:00
Raymond Hill
c3d0d574d7
Fix incorrect serialization of pseudo elements
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/ylnvwf/how_to_block_suggestive_keyword_in_reddit_search/iv014wu/
2022-11-04 10:55:10 -04:00