Commit Graph

10189 Commits

Author SHA1 Message Date
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
Raymond Hill d7cca916a6
Update README.md 2022-11-02 11:51:00 -04:00
Raymond Hill 4892a6e212
Make Firefox dev build auto-update 2022-11-02 08:41:07 -04:00
Raymond Hill b4b9ea7020
New revision for release candidate 2022-11-02 08:34:42 -04:00
Raymond Hill 42ddac5e3d
Fix unescaped backslashes in selector attribute
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/yjoh9p/
2022-11-02 08:32:54 -04:00
Raymond Hill 28b0d04c89
Make Firefox dev build auto-update 2022-10-31 08:21:20 -04:00
Raymond Hill d929630a3c
Merge branch 'master' of https://github.com/gorhill/uBlock 2022-10-31 08:15:08 -04:00
Raymond Hill ac397f06be
New revision for release candidate 2022-10-31 08:14:46 -04:00
gorhill d582eb8e64 Update build log file
Files changed:\nM	dist/mv3/log.txt
2022-10-29 14:04:54 +00:00
Raymond Hill d4bd6f0251
[mv3] Inject scriptlets et al. in embedded frames
Not doing so prevented uBO Lite from properly defusing
many anti-blockers.
2022-10-29 10:02:09 -04:00
Raymond Hill 13b6554ddb
Add notable changes 2022-10-28 18:51:53 -04:00
Raymond Hill d3535f3a02
Update submodules 2022-10-28 17:56:34 -04:00
Raymond Hill 805dce08ab
Text format 2022-10-28 17:55:35 -04:00
Raymond Hill b8103d057d
Fix incomplete sentence 2022-10-28 17:54:59 -04:00
Raymond Hill 9ed316bdd2
Keep track of removed assets from the repo 2022-10-28 17:52:49 -04:00
Raymond Hill ba637bb22e
Remove old, dated material which is no longer in use
See REMOVED.md for direct link to the state of the repo which
contains those assets prior to removal.
2022-10-28 17:45:41 -04:00
Raymond Hill 6c046ed95c
Make Firefox dev build auto-update 2022-10-28 11:15:42 -04:00
Raymond Hill a982255969
New revision for dev build 2022-10-28 11:09:15 -04:00
Raymond Hill 4863f3093e
Do not inject scriptlets on navigation events in Firefox
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2343
2022-10-28 11:07:46 -04:00
Raymond Hill df1542e382
Make Firefox dev build auto-update 2022-10-28 10:30:53 -04:00