Raymond Hill
484ae68528
Import translation work from https://crowdin.com/project/ublock
2025-03-24 08:17:38 -04:00
Raymond Hill
0fce659bb0
Use Object.hasOwn instead of Object.prototype.hasOwnProperty
...
Reference:
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwn
2025-03-24 08:15:09 -04:00
Raymond Hill
07a4a6a35d
Import translation work from https://crowdin.com/project/ublock
2025-03-23 16:37:57 -04:00
Raymond Hill
8f78faf980
Import translation work from https://crowdin.com/project/ublock
2025-03-22 16:11:10 -04:00
Raymond Hill
95a3be9d56
Add jsonl-prune-xhr-response/jsonl-prune-fetch-response scriptlets
...
As discussed internally with filter list volunteers.
2025-03-22 16:01:43 -04:00
Raymond Hill
27e2d6a513
Import translation work from https://crowdin.com/project/ublock
2025-03-21 13:31:40 -04:00
Raymond Hill
7a2f4960d0
Import translation work from https://crowdin.com/project/ublock
2025-03-21 13:29:30 -04:00
Raymond Hill
ab458b492a
[mv3] Bring back element zapper
2025-03-21 13:23:54 -04:00
Raymond Hill
98b011f64c
[mv3] Add support for explicit generichide filter option
...
`generichide` option is implicitly enforced on all sites unless an
exception overrides `generichide`. Though rare, sometimes a
`generichide` exception needs to be overridden so that generic
cosmetic filtering is made possible on a specific site.
This commit is to add support for restoring generic cosmetic
filtering on sites which were excluded through a `generichide`
exception.
Concretely, this is needed to ensure the test suite can properly
verify that generic cosmetic filtering is working when the
filtering mode is set to "complete":
||ublockorigin.github.io^$generichide,important
2025-03-18 17:15:35 -04:00
Raymond Hill
fba662421d
[mv3] Make it easier to add filters for testing purpose
2025-03-15 15:06:51 -04:00
Raymond Hill
c3187d85e8
[mv3] Avoid re-entrance when registering content scripts
2025-03-15 13:29:26 -04:00
Raymond Hill
b98a8d5c02
[mv3] Remove stray test filters
2025-03-14 12:29:01 -04:00
Raymond Hill
db7210a24a
Import translation work from https://crowdin.com/project/ublock
2025-03-14 10:59:26 -04:00
Raymond Hill
68962453ff
[mv3] Eliminate false positives in new generic cosmetic exception code
...
Related commit:
a009623d97
2025-03-13 19:02:20 -04:00
Raymond Hill
4032ba01bf
[mv3] Separate name from version in report
...
To make it easier to spot reports from forks of uBOL.
2025-03-13 13:27:21 -04:00
Raymond Hill
a009623d97
[mv3] Improve generic cosmetic filtering
...
Specifically, properly exclude generic cosmetic filters according to
specific cosmetic exceptions.
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/181
2025-03-13 13:15:27 -04:00
Raymond Hill
1ea56a04cd
[mv3] Explicit filtering modes in troubleshooting data
2025-03-10 11:44:15 -04:00
Raymond Hill
bf9549115c
Import translation work from https://crowdin.com/project/ublock
2025-03-08 17:22:46 -05:00
Raymond Hill
94db43c4ad
[mv3] Minor changes to account for Edge build
2025-03-08 11:31:31 -05:00
Raymond Hill
d006fd06e7
[mv3] Add support for ancestor context syntax in scriptlets
...
Related commit:
a483f7955f
2025-03-07 17:04:02 -05:00
Raymond Hill
536f0fba25
[mv3] Add test suite list to available rulesets
...
Microsoft Edge for Android requires a "link to the core function
test cases for your Edge Android extension" to verify that the
extension function properly.
2025-03-06 17:39:15 -05:00
Raymond Hill
03fb6ee059
Import translation work from https://crowdin.com/project/ublock
2025-03-06 09:59:35 -05:00
Raymond Hill
1dbd280ba3
[mv3] Convert domain= to to= for csp=/permissions= options
...
Related discussion:
https://github.com/uBlockOrigin/uBOL-home/issues/156#issuecomment-2694741399
2025-03-03 11:45:54 -05:00
Raymond Hill
b29ac98094
[mv3] Inject surveyor in frames
...
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/290
2025-03-03 08:27:37 -05:00
Raymond Hill
cff88d547f
Import translation work from https://crowdin.com/project/ublock
2025-03-01 09:26:44 -05:00
Raymond Hill
8a6b12a319
[mv3] Inject scriptlets in their intended target world
2025-02-24 10:11:13 -05:00
Raymond Hill
e56ca0f612
Import translation from https://crowdin.com/project/ublock
2025-02-23 12:20:17 -05:00
Raymond Hill
02b78fb717
[mv3] Remove obsolete Firefox workaround code
...
Related commit:
2e745f9bfb
2025-02-22 11:07:58 -05:00
Raymond Hill
0013e04fd3
Import translation work from https://crowdin.com/project/ublock
2025-02-22 07:47:33 -05:00
Raymond Hill
6ca28a5b3f
[mv3] Improve output og log.txt
2025-02-22 07:38:12 -05:00
Raymond Hill
1d2378e74e
[mv3] Workaround for permissions dialog preventing proper mode change
...
This is a Chromium-specific issue.
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/280
2025-02-21 08:23:27 -05:00
Raymond Hill
ce724d5c47
Import translation work from https://crowdin.com/project/ublock
2025-02-20 15:19:57 -05:00
Raymond Hill
9f27b9fedd
Import translation work from https://crowdin.com/project/ublock
2025-02-20 09:02:06 -05:00
Raymond Hill
4d0ecbae3d
Import translation work from https://crowdin.com/project/ublock
2025-02-20 08:44:31 -05:00
Raymond Hill
344539d793
Comply with Mozilla's "User Consent and Control"
...
Make clear that the hostname of the page with issue is being sent
to GitHub's server when searching existing reports or creating a
new report.
2025-02-20 08:06:50 -05:00
Raymond Hill
17c66030fe
[mv3] Fix incorrect hostname matching in urlskip-related code
...
Related feedback:
https://github.com/uBlockOrigin/uBOL-home/issues/278#issuecomment-2664971115
2025-02-19 08:41:22 -05:00
Raymond Hill
f12351688a
Import translation work from https://crowdin.com/project/ublock
2025-02-19 07:51:43 -05:00
Raymond Hill
8629f07138
Fix "make lint" command; fix more lint errors
2025-01-19 09:35:51 -05:00
Raymond Hill
2843aa1c90
[mv3] Inject highly generic cosmetic filters in all frames
...
Related issue:
https://github.com/uBlockOrigin/uAssets/issues/26839
2025-01-15 09:13:18 -05:00
Raymond Hill
f8975e3a6a
Better integrate latest eslint version
2025-01-10 10:25:15 -05:00
Raymond Hill
7c530198c8
Import translation work from https://crowdin.com/project/ublock
2025-01-01 08:20:45 -05:00
Raymond Hill
217d001d71
[mv3] Minor changes
2024-12-30 13:40:18 -05:00
Raymond Hill
61922da24b
[mv3] Extend strict-blocking coverage; improve URL-skip behavior
...
This extends coverage of strict-blocking to pattern-based filters
with `doc` filter option.
When proceeding with a URL-skip URL present, no temporary bypass
will be created when the "Don't warn me again about this site" is
left unchecked. The idea is to avoid the intermediate redirects
if we navigate again on the same strict-blocked site, while a
temporary bypass would prevent this.
uBO's "Badware risks" list has been spinned off as its own list.
The idea is that should a site be strict-blocked from that list,
we would want to know the strict-block is due to the
"Badware risks" list.
2024-12-29 16:38:56 -05:00
Raymond Hill
f7fa3139af
Need to name as per validator
2024-12-24 12:43:53 -05:00
Raymond Hill
3df22b1791
[mv3] Change extension id
2024-12-24 11:30:13 -05:00
Raymond Hill
27a72b8eef
[mv3] Hopefully this fixes Edge submission issue
...
Submission to Edge Addons store fails with:
----
The following checks failed:
Package acceptance validation error:
Manifest file reference 'urlhaus.full' does not exist in the zip archive.
(Note: File locations are case-sensitive)
Package acceptance validation error:
Manifest file reference 'openphish.domains' does not exist in the zip archive.
(Note: File locations are case-sensitive)
----
Guessing the use of period in ruleset file path is causing the
issue.
2024-12-23 09:57:57 -05:00
Raymond Hill
fd481a37bf
Import translation work from https://crowdin.com/project/ublock
2024-12-22 10:36:47 -05:00
Raymond Hill
89e44131a0
[mv3] Enable OpenPhish ruleset by default
...
As discussed with filter list maintainers.
2024-12-21 08:57:12 -05:00
Raymond Hill
a17a8ac04b
Import translation work from https://crowdin.com/project/ublock
2024-12-20 14:28:23 -05:00
Raymond Hill
c311315daa
[mv3] Fix undue blocking of network requests for unfiltered sites
...
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/247
Use session rules with `TAB_ID_NONE` to properly exclude network
requests from service workers potentially used by trusted websites.
2024-12-20 13:55:48 -05:00