Commit Graph

12370 Commits

Author SHA1 Message Date
Raymond Hill 27e0db1dd2
Import translation work from https://crowdin.com/project/ublock 2024-03-26 12:47:05 -04:00
Raymond Hill 8e5e13cbdc
Fine tune allowed tab indents in eslint 2024-03-26 12:45:05 -04:00
Raymond Hill 3919a16bb8
Do not block large media resources when loaded as top-level document
Related issues:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1201
- https://github.com/uBlockOrigin/uBlock-issues/issues/3184

Top-level media resources are not meant to be blocked, see:
https://github.com/gorhill/uBlock/issues/2813#issuecomment-317177212
2024-03-26 12:44:08 -04:00
Raymond Hill 616c54f475
Make Firefox dev build auto-update 2024-03-23 13:40:50 -04:00
Raymond Hill 4c96acb913
Update changelog 2024-03-23 13:33:57 -04:00
Raymond Hill c6019e755b
Import translation work from https://crowdin.com/project/ublock 2024-03-23 13:33:08 -04:00
Raymond Hill ce69a45d75
New revision for release candidate 2024-03-23 13:30:59 -04:00
Raymond Hill 90ab1a76ab
Properly manage cache storage regarding managed user filters
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3177
2024-03-23 13:28:18 -04:00
Raymond Hill 11a48561e0
Improve `[trusted-]set-cookie` scriptlets
Related issues:
- https://github.com/uBlockOrigin/uBlock-issues/issues/3178
- https://github.com/uBlockOrigin/uBlock-issues/issues/2777
2024-03-23 11:00:45 -04:00
Raymond Hill b78f0c4fa4
Make Firefox dev build auto-update 2024-03-22 15:35:59 -04:00
Raymond Hill 47ae87724a
Import translation work from https://crowdin.com/project/ublock 2024-03-22 14:53:22 -04:00
Raymond Hill 513942c2a4
New revision for release candidate 2024-03-22 14:49:21 -04:00
Raymond Hill 5d60df4b1b
Fix bad eslint rule + minor code review
`webext.js` module needs to be explicitly imported.

Added time-based heuristic to decide when a webpage loses
communication with background process.
2024-03-22 14:46:57 -04:00
Raymond Hill d368747235
Import translation work from https://crowdin.com/project/ublock 2024-03-22 09:49:42 -04:00
Raymond Hill 0a7e2d2ae8
Import translation work from https://crowdin.com/project/ublock 2024-03-21 13:59:06 -04:00
Raymond Hill 764a1772ba
[mv3] Add option to disable toolbar icon badge
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/119
2024-03-21 13:57:50 -04:00
Raymond Hill 62965cd34f
Import translation work from https://crowdin.com/project/ublock 2024-03-21 13:55:53 -04:00
Raymond Hill fbfbae7c74
Make Firefox dev build auto-update 2024-03-20 16:20:46 -04:00
Raymond Hill 630cca4b8e
New revision for release candidate 2024-03-20 16:14:24 -04:00
Raymond Hill 9fd80cf6dd
Improve `spoof-css` scriptlet 2024-03-20 09:31:17 -04:00
Raymond Hill 466126704c
Make Firefox dev build auto-update 2024-03-19 12:06:16 -04:00
Raymond Hill 60c7ffb0af
New revision for release candidate 2024-03-19 11:56:27 -04:00
Raymond Hill 61e916901b
Add concept of "preferred" lists
Preferred lists will be visually listed above other lists.
2024-03-19 11:51:03 -04:00
Raymond Hill 7e48a03927
Make syntax errors more visible
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/992#issuecomment-2002586019
2024-03-19 11:39:07 -04:00
Raymond Hill 0cb6170584
Fix various quirks with "My filters" trust-related checkbox
Simplify code to force syntax highlighter and linter to reprocess
the content when toggling trust-related checkbox.

Fix issue with using `mousedown` on searchbar widgets, related
feedback:
https://github.com/uBlockOrigin/uBlock-issues/issues/3161#issuecomment-2002112770

Fix issues reported by eslint.
2024-03-19 10:59:15 -04:00
Raymond Hill 58c935aa9e
Fine tune eslint
Allow arbitrary indent inside literal array declaration.
2024-03-19 09:55:28 -04:00
Raymond Hill 7c235df611
Make Firefox dev build auto-update 2024-03-18 12:36:05 -04:00
Raymond Hill 7a7f7ee7a9
New revision for release candidate 2024-03-18 12:27:44 -04:00
Raymond Hill d5aa38aec8
Update changelog 2024-03-18 12:27:20 -04:00
Raymond Hill 950b5ea55e
Fine tune eslint
Support no-indentation for file-level if block or
arrow function block.
2024-03-18 11:08:52 -04:00
Raymond Hill 38b325ecce
Raise the limit for detection of stale content scripts 2024-03-17 13:03:19 -04:00
Raymond Hill fc1f0b771a
Allow body of file-level if statement to not be indented 2024-03-17 13:03:19 -04:00
Imre Kristoffer Eilertsen 499c80bd8a
Fixed Belgian and Nepali flags for Windows Chromium users (#3914)
* Added flagcode matching for Belgium specifically

* Added a transparent Nepal flag
2024-03-17 10:42:20 -04:00
Raymond Hill 36f81be13b
Use eslint instead of jshint
Eslint supports newer JS syntax such as static fields in classes,
which is supported by all browsers/version with official uBO
support.

Reference:
https://eslint.org/docs/latest/

Fixing all warnings for all JS files will be done over time.
2024-03-17 09:44:00 -04:00
Raymond Hill 42dfdfea5d
Fix regression in visual of document-blocked page
Related commit:
46ea5519c1
2024-03-17 09:40:59 -04:00
Raymond Hill 94de4e266e
Fix popup panel when embedded in logger
Regression from commit:
https://github.com/gorhill/uBlock/commit/0d77ccded7

Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/discussions/2419#discussioncomment-8759449
2024-03-17 09:36:39 -04:00
Raymond Hill 3f7374c1f1
Mind that `tabs.sendMessage` can throw 2024-03-17 09:34:05 -04:00
Raymond Hill 9146134874
Improve `set-cookie` scriptlet
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3016
2024-03-15 12:29:22 -04:00
Raymond Hill 85955368bd
Make Firefox dev build auto-update 2024-03-14 17:01:19 -04:00
Raymond Hill 52705c6e6e
New revision for dev build 2024-03-14 16:55:24 -04:00
Raymond Hill ac8abc4eba
Update changelog 2024-03-14 16:54:52 -04:00
Raymond Hill 1cb190e102
Append wildcard character only when filter starts & ends with `/`
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/1088
2024-03-14 13:32:36 -04:00
Raymond Hill 65b6753c69
Simpler to use an extra property than to use a new assets.json 2024-03-14 10:20:25 -04:00
Raymond Hill 8165067b9b
Act on default mouse button 2024-03-14 09:14:15 -04:00
Raymond Hill 706c79b226
Make Firefox dev build auto-update 2024-03-13 14:45:44 -04:00
Raymond Hill 3807844b34
New revision for dev build 2024-03-13 14:41:13 -04:00
Raymond Hill 78bffee4ae
Update changelog 2024-03-13 14:40:18 -04:00
Raymond Hill 67a653046d
Import translation work from https://crowdin.com/project/ublock 2024-03-13 14:39:55 -04:00
Raymond Hill 52b46eb98b
Add procedural operator `:shadow()` -- status is experimental
For internal use by filter list maintainers, do not open issues
about this. Left undocumented on purpose.

This new procedural operator allows to target elements in the
shadow root of an element.

subject:shadow(arg)

- Description: Look-up matching elements inside the shadow root (if
  present) of _subject_.
- Chainable: Yes
- _subject_: Can be a plain or procedural selector.
- _arg_: A plain or a procedural selector for the elements to target
  inside the shadowroot.

Example:

..##body > div:not([class]):shadow(div[style]):has(:shadow([data-i18n^="#ad"]))
2024-03-13 14:28:53 -04:00
Raymond Hill 6f54317bdf
Keep search input field visuals consistent
Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/issues/3161#issuecomment-1992340127
2024-03-13 10:57:56 -04:00