Commit Graph

10414 Commits

Author SHA1 Message Date
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
Raymond Hill aa21d77529
New revision for dev build 2022-10-27 14:19:54 -04:00
Raymond Hill bccd5a0264
Harden scriptlet injections
This commit make it so scriptlet injections will occur
at the earliest possible time on all platform.

This should also fix the case reported at:
- https://www.reddit.com/r/uBlockOrigin/comments/ye6abt/

Which is caused by the fact that there is no webNavigation
events being fired by the browser. In such case, the changes
here will make it so that uBO will detect that the scriptlet
were not injected and will inject them at main content script
injection time.
2022-10-27 14:16:21 -04:00
Raymond Hill 2d3d57fbc8
Use our own mirror for Easylist lists 2022-10-27 14:15:57 -04:00
Raymond Hill 2f646dbdb0
Pull reference Easylist assests from own repo 2022-10-24 12:37:04 -04:00
Raymond Hill ae5717ea72
Just use the already existing method 2022-10-24 09:30:29 -04:00
Raymond Hill 1ce59d205a
Add script to publish uBO Lite to CWS 2022-10-24 09:14:14 -04:00
Raymond Hill fb4059d11c
Add missing API method in neutered resource 2022-10-24 09:11:02 -04:00
Raymond Hill df7bedbe04
Return punycoded hostname in static extended filtering 2022-10-24 09:08:50 -04:00
q1800 08eb790145
Update support.html (#3876) 2022-10-21 14:17:18 -04:00
Raymond Hill 3d3ad0e386
Void elements (i.e. link) do not need self-closing slash
Ref.:
  https://html.spec.whatwg.org/multipage/syntax.html#void-elements
2022-10-21 12:17:37 -04:00
gorhill daa151f684 Update build log file
Files changed:\nM	dist/mv3/log.txt
2022-10-20 20:04:31 +00:00
Raymond Hill 433adac6ff
[mv3] Add ability to handle entity-based CSS and scriptlet injection filters
This commit adds the ability to inject entity-based plain CSS
filters and also a set of the most commonly used entity-based
scriptlet injection filters.

Since the scripting API is not compatible with entity patterns,
the entity-related content scripts are injected in all documents
and the entity-matching is done by the content script themselves.

Given this, entity-based content scripts are enabled only when
working in the Complete filtering mode, there won't be any
entity-based filters injected in lower modes.

Also, since there is no way to reasonably have access to the
Public Suffix List in the content scripts, the entity-matching
algorithm is an approximation, though I expect false positives
to be rare (time will tell). In the event of such false
positive, simply falling back to Optimal mode will fix the
issue.

The following issues have been fixed at the same time:

Fixed the no-filtering mode related rules having lower priority
then redirect rules, i.e. redirect rules would still be applied
despite disabling all filtering on a site.

Fixed improper detection of changes to the generic-related CSS
content script, potentially causing undue delays when for example
trying to access the popup panel while working in Complete mode.
The scripting MV3 can be quite slow when registering/updating
large content scripts, so uBOL does its best to call the API only
if really needed, but there had been a regression in the recent
builds preventing uBO from properly detecting unchanged content
script parameters.
2022-10-20 15:48:06 -04:00
Raymond Hill e84b374279
Partially revert fd945f3358 2022-10-19 18:17:39 -04:00
Raymond Hill 1655e88438
Make Firefox dev build auto-update 2022-10-19 12:21:07 -04:00
Raymond Hill 635b64153a
New revision for dev build 2022-10-19 12:13:35 -04:00
Raymond Hill 7ec59b09ac
Fix improperly detecting ruleset changes re. dynamic URL filtering
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2330\
2022-10-19 12:12:09 -04:00
Raymond Hill de1eeb0770
Make Firefox dev build auto-update 2022-10-19 11:46:15 -04:00