Commit Graph

10881 Commits

Author SHA1 Message Date
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
q1800 1854009c74
Update README.md 2022-11-02 12:39:45 -05: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
Raymond Hill a21b83725d
New revision for dev build 2022-10-28 10:20:44 -04:00
gorhill a26cdd9a74 Update build log file
Files changed:\nM	dist/mv3/log.txt
2022-10-28 00:24:13 +00:00
Raymond Hill ec43aaad94
Import translation work from https://crowdin.com/project/ublock 2022-10-27 20:19:46 -04:00
Raymond Hill d992824625
Just to be sure no race condition
Related commit:
- d1f8a05d2d
2022-10-27 16:28:55 -04:00
Raymond Hill 545bb0787b
Make Firefox dev build auto-update 2022-10-27 16:11:34 -04:00
Raymond Hill df5197b0fe
New revision for dev build 2022-10-27 15:55:25 -04:00
Raymond Hill d1f8a05d2d
Further ensure scriptlets are actually injected
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/ye6abt/

Possibly because the Opera sidebar window is a special
case, it appears the scriptlets must be injected at a
later time.

Use a global isolated window variable to detect whether
the scriptlets have really be injected, and ultimately
inject them at main content script time when it is found
they haven't been injected at that point.
2022-10-27 15:52:03 -04:00
Raymond Hill 0a55767ea3
Make Firefox dev build auto-update 2022-10-27 14:31:23 -04:00