Commit graph

2416 commits

Author SHA1 Message Date
Raymond Hill
baee6dcaca
Import translation work from https://crowdin.com/project/ublock 2025-12-14 16:05:26 -05:00
Raymond Hill
3855c5a648
[mv3] Fix garbage collection-related code 2025-12-14 10:26:50 -05:00
Raymond Hill
621ad89c64
[mv3] Better validate hostnames in "Filtering mode details" editor
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/564
2025-12-12 09:48:40 -05:00
Raymond Hill
0fb845d1ac
[mv3] Load specific cosmetic filtering data on-demand only
The cosmetic filtering data embedded in the content scripts has been
extracted in corresponding JSON files. When a list is enabled, the
corresponding cosmetic filtering data from the JSON files, if any, is
persisted into the extension's local storage.

The cosmetic filtering-related content scripts will load the data
from these JSON files on-demand only and matching cosmetic filters
will be extracted, then the result is cached in the session storage,
ensuring there is no longer a need to perform lookup for the rest
of the browser session.

As a result this further reduces the time to First Contentful Paint.

Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/557
2025-12-09 15:32:02 -05:00
Raymond Hill
e036156f3a
[mv3] Sort scriptlet functions
To minimize diff between releases.
2025-12-09 12:58:10 -05:00
Raymond Hill
0aa0d81caf
[mv3] Re-work specific cosmetic filtering-related content scripts
To minimize delay to First Contentful Paint. The idea is to avoid
complex data structures such as Map in order to speed up first content
script execution. Use stringified arrays where practical and
instanciate those arrays from their stringified representation only
when there are actual cosmetic filters to apply.

Related commit:
https://github.com/gorhill/uBlock/commit/6039ef2b6d
2025-12-05 08:54:34 -05:00
Raymond Hill
6039ef2b6d
[mv3] Generate at most two scriptlet-related files per rulesets
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/557
2025-12-04 12:57:25 -05:00
Raymond Hill
d5793b83f2
Set Firefox minimum version to 115
Related discussion:
https://github.com/uBlockOrigin/uBlock-issues/discussions/3878#discussioncomment-15147836
2025-12-04 06:51:17 -05:00
Raymond Hill
967b21415b
Import translation work from https://crowdin.com/project/ublock 2025-11-30 10:42:37 -05:00
Raymond Hill
cd814ee818
[mv3] Improve automatically changing filtering mode
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/554
2025-11-29 09:41:46 -05:00
Raymond Hill
474723d9ca
[mv3] Improve management of regex-based rules
- Make place for more dynamic regex-based rules when there is a
  risk session regex-based rules could interfere

- Do not prune `allow` strict-block rules as they do not contribute
  toward the overall regex-based rule count

Possibly related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/556
2025-11-28 13:29:59 -05:00
Raymond Hill
015ddcde29
[firefox] Change minimum required version to 128
Related discussion:
https://github.com/uBlockOrigin/uBlock-issues/discussions/3878
2025-11-28 12:53:45 -05:00
Raymond Hill
85db7c38c1
[mv3][edge] Reject responseheaders rules only for non-regex rules
Related commit:
a5091488e5
2025-11-23 11:16:16 -05:00
Raymond Hill
eae618e7e8
[mv3] Force ltr for troubleshooting info 2025-11-21 10:03:24 -05:00
Raymond Hill
fe958625df
[firefox] Signal that no data collection is required
Related information:
https://extensionworkshop.com/documentation/develop/firefox-builtin-data-consent/
2025-11-17 12:40:04 -05:00
Raymond Hill
95ebd70264
Import translation work from https://crowdin.com/project/ublock 2025-11-16 13:10:53 -05:00
Raymond Hill
d1987f88ee
[mv3] Shorten output in build script 2025-11-14 12:47:28 -05:00
Raymond Hill
d9055b0307
[mv3] Minor code review related to permission changes
Related commit:
801b4679e9
2025-11-14 10:01:09 -05:00
Raymond Hill
d8fb800f30
[mv3][firefox] Fix instanceof quirk; fine tune picker CSS
Related feedback:
https://github.com/uBlockOrigin/uBOL-home/discussions/548
2025-11-14 09:29:28 -05:00
Raymond Hill
801b4679e9
[mv3] Auto reload current tab when permissions granted thru browser
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/526
2025-11-12 12:16:56 -05:00
Raymond Hill
474273ad92
Import translation work from https://crowdin.com/project/ublock 2025-11-10 10:28:12 -05:00
Raymond Hill
16c0f69853
[mv3][safari] Rwrite certain main_frame + regexFilter rules
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/539
2025-11-06 12:23:36 -05:00
Raymond Hill
9849b5f0b1
[mv3] Remove "Custom filters" pane when picker is forbidden
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/536
2025-11-03 09:19:22 -05:00
Raymond Hill
a5091488e5
[mv3][edge] Filter out rules with responseHeaders condition
MS store validator rejects those rules in static rulesets.
2025-11-02 12:55:44 -05:00
Raymond Hill
52fac1ea91
Import translation work from https://crowdin.com/project/ublock 2025-11-02 12:11:28 -05:00
Raymond Hill
2c5ae5113e
Import translation work from https://crowdin.com/project/ublock 2025-10-28 12:24:52 -04:00
Raymond Hill
01427bd754
[mv3] Update EST list URLs 2025-10-23 08:50:50 -04:00
Raymond Hill
d6fc057d3b
[mv3] Minor code review 2025-10-23 08:46:33 -04:00
Raymond Hill
ae2f4da11f
Import translation work from https://crowdin.com/project/ublock 2025-10-19 10:58:41 -04:00
Raymond Hill
511255f7c7
[mv3] Automatically select optimal for newly allowed hosts
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/456
2025-10-18 10:03:10 -04:00
Raymond Hill
5e2b85d53d
[mv3][safari] Avoid race condition 2025-10-15 12:44:48 -04:00
Raymond Hill
014ea0170e
Import translation work from https://crowdin.com/project/ublock 2025-10-15 10:03:45 -04:00
Raymond Hill
ede6b17060
Import translation work from https://crowdin.com/project/ublock 2025-10-12 12:59:07 -04:00
Raymond Hill
8cc18c1089
[mv3][safari] Force-reload rulesets when new browsing realm is seen
Workaround for Safari-specific issue:
- https://github.com/uBlockOrigin/uBOL-home/issues/515
- https://bugs.webkit.org/show_bug.cgi?id=300236
2025-10-12 12:11:57 -04:00
Raymond Hill
6fb58f8599
[mv3][safari] Minor code review 2025-10-11 15:01:39 -04:00
Raymond Hill
22d2ecc472
[mv3][safari] Workaround for user styles issue with bfcache
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/518
2025-10-11 14:46:35 -04:00
Raymond Hill
1c7b7e435e
[mv3] Improve troubleshooting information 2025-10-08 13:50:26 -04:00
Raymond Hill
4f41880e43
[mv3][safari] No longer discard method=-related DNR rules 2025-10-08 11:49:55 -04:00
Raymond Hill
2a2e223fd9
Import translation work from https://crowdin.com/project/ublock 2025-10-05 10:41:10 -04:00
Raymond Hill
cdc5a4a0e7
[mv3] Use "split" mode for "incognito" manifest key
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/336
2025-10-05 10:29:58 -04:00
Raymond Hill
be14670b76
[mv3] Decrease granularity of hashes of generic cosmetic selectors
This reduces the size of content scripts with no downside.
2025-10-04 13:32:16 -04:00
Raymond Hill
41a65315f9
[mv3] Minor code change 2025-10-03 14:45:46 -04:00
Raymond Hill
a03de94729
import translation work from https://crowdin.com/project/ublock 2025-10-02 07:32:16 -04:00
Raymond Hill
6623889920
[mv3] Improve details of troublshooting info
Also, avoid loading troubleshooting module in service worker as it's
of use only as a user interface component.
2025-09-29 13:07:59 -04:00
Raymond Hill
4b1f87710c
[mv3] Minor CSS changes 2025-09-29 12:19:11 -04:00
Raymond Hill
e91c47846b
[mv3] Fix issues with restore from file 2025-09-28 15:04:26 -04:00
Raymond Hill
bb8e3d4d47
Import translation work from https://crowdin.com/project/ublock 2025-09-28 14:35:14 -04:00
Raymond Hill
be1502feb3
[mv3] Avoid mouseenter/mouseleave on mobile devices
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/478
2025-09-28 11:24:23 -04:00
Raymond Hill
80cf4d9286
[mv3] Use manifest's path value to access static rulesets
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/503
2025-09-28 11:08:48 -04:00
Raymond Hill
f40dac91b9
Import translation work from https://crowdin.com/project/ublock 2025-09-28 09:28:14 -04:00