Commit Graph

10897 Commits

Author SHA1 Message Date
Raymond Hill 2ef2888805
Expand/harden some scriptlets
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2615

Expand `set-constant`: 3rd parameter and beyond are tokens which
modify the behavior of `set-contant`. Valid tokens:

- `interactive`, `end`, `2`: set the constant when the event
  `DOMContentInteractive` is fired.
- `complete`, `idle`, `3`: set the constant when the event
  `load` is fired.
- `asFunction`: the constant will be a function returning the
  specified value.
- `asCallback`: the constant will be a function returning a
  function returning the specified value.
- `asResolved`: the constant will be a promise resolving to
  the specified value.
- `asRejected`: the constant will be a promise failing with
  the specified value.

Harden `no-setimeout-if` and `no-setinterval-if` as per feedback
from filter list maintainers.
2023-05-19 12:55:01 -04:00
Raymond Hill 0442718efd
Render List stats below on mobile 2023-05-17 15:45:31 -04:00
Raymond Hill df5437a54f
Revert "Render List stats below on mobile"
This reverts commit 9ea39886b6.
2023-05-17 15:44:11 -04:00
Raymond Hill b0219570b6
Make Firefox dev build auto-update 2023-05-17 11:51:25 -04:00
Raymond Hill da49bbdf44
New revision for dev build 2023-05-17 10:27:57 -04:00
Raymond Hill 03a1009b07
As per feedback on https://crowdin.com/project/ublock 2023-05-17 10:27:10 -04:00
Raymond Hill 07845196b7
Import translation work from https://crowdin.com/project/ublock 2023-05-17 10:25:27 -04:00
Raymond Hill 14637923fc
Fix remaining quirks in "Filter lists" pane
Do not sticky unchecked lists in search mode.

Propagate default status of a sublist upward to its parent
entry.
2023-05-17 10:05:19 -04:00
Raymond Hill d6eacd8cf6
In search-mode, select only search-matched descendants
Context: "Filter lists" pane.
2023-05-17 09:21:14 -04:00
Raymond Hill 0fa4cae4b2
Make Firefox dev build auto-update 2023-05-16 20:01:34 -04:00
Raymond Hill 69314a99fc
New revision for dev build 2023-05-16 19:50:31 -04:00
Raymond Hill bcb5c441a9
Work on tags (more to do) 2023-05-16 19:49:57 -04:00
Raymond Hill d5dec1d3c4
Return string when storage.sync.get() promise fails
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2660
2023-05-16 19:26:46 -04:00
Raymond Hill d515146d36
Import translation work from https://crowdin.com/project/ublock 2023-05-16 12:25:25 -04:00
Raymond Hill af04821d7a
Rename "Malware domains" section to "Malware, security" 2023-05-16 12:23:41 -04:00
Raymond Hill d27b3471e1
Import translation work from https://crowdin.com/project/ublock 2023-05-16 12:21:59 -04:00
Raymond Hill 9ea39886b6
Render List stats below on mobile 2023-05-16 12:10:40 -04:00
Raymond Hill 5ba3055bc7
Fix class name 2023-05-14 20:18:32 -04:00
Raymond Hill d3da121892
Make Firefox dev build auto-update 2023-05-14 10:26:09 -04:00
Raymond Hill d8ca192367
New revision for dev build 2023-05-14 10:16:43 -04:00
Raymond Hill 5c5ccc78bc
Import translation work from https://crowdin.com/project/ublock 2023-05-14 10:07:36 -04:00
Raymond Hill 0b63a4c281
Minor code review 2023-05-14 10:05:42 -04:00
Raymond Hill 7bc06fec8c
Code maintenance: remove now unused ABP-related code path 2023-05-14 09:41:35 -04:00
Raymond Hill a3a80e3b3f
Do not bail out when `content-disposition` is `inline`
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2656
2023-05-14 09:06:21 -04:00
Raymond Hill e79d9b2f85
Add more minified version of uBO lists 2023-05-13 15:20:35 -04:00
Raymond Hill 1a9a8aae0c
Fix improperly unselecting imported lists
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/13enzvv/

When assessing which default lists to disable/enable after
updating from 1.48.x to 1.49.x, uBO has to ignore imported
lists, as these do not have a `off` property -- the
non-existence of this property was used to determine whether
a list was default or not. There needs to be an extra test for
whether the list is imported or not.
2023-05-11 11:46:31 -04:00
Raymond Hill c1ac09b96a
Address #17921 2023-05-10 08:50:52 -04:00
Raymond Hill 3cfd9d3dc2
Make Firefox dev build auto-update 2023-05-09 17:05:38 -04:00
Raymond Hill cdc5518c2b
New revision for dev build 2023-05-09 16:57:30 -04:00
Raymond Hill fc7b2898d2
Make list-search i18n aware where possible 2023-05-09 16:56:33 -04:00
Raymond Hill 578fc21bd9
Report injected scriptlets in troubleshooting information
This requires to rewrite portions of scriptlet filtering
code.
2023-05-09 12:44:14 -04:00
Raymond Hill 39a8aaa39b
Rmove unicode-based flags 2023-05-09 09:51:34 -04:00
Raymond Hill 1b04c41f82
Make Firefox dev build auto-update 2023-05-08 08:36:20 -04:00
Raymond Hill ee233d9586
New revision for dev build 2023-05-08 08:24:06 -04:00
Raymond Hill fd821e3473
Force all dev builds to use assets.dev.json 2023-05-08 08:23:19 -04:00
Raymond Hill f6839f5a57
Keep reflecting search matches after applying changes 2023-05-08 07:08:45 -04:00
Raymond Hill 9808423845
Bring back list-per-group counts
Regression from:
- cbc0cbadaa
2023-05-07 19:07:21 -04:00
Raymond Hill 56092189d1
Fix rendering issue of row-filter icon in popup panel
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2640
2023-05-07 10:42:30 -04:00
Raymond Hill 82d8232d09
Make Firefox dev build auto-update 2023-05-07 10:21:18 -04:00
Raymond Hill d1180ec388
New revision for dev build 2023-05-07 09:45:09 -04:00
Raymond Hill 88fb6b153d
Add "scriptlet" filter expression to logger
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/discussions/2636
2023-05-07 09:35:48 -04:00
Raymond Hill a6b13e6b9c
Fix hostname-detecting regex
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2639
2023-05-07 09:19:39 -04:00
Raymond Hill ad8b7b2f12
Fix filter list paths 2023-05-07 09:19:01 -04:00
Raymond Hill e94a84d6fb
Make Firefox dev build auto-update 2023-05-06 19:06:19 -04:00
Raymond Hill 993a72ae9b
New revision for dev build 2023-05-06 18:58:28 -04:00
Raymond Hill bc02358610
Use a different surface color for scriptlets in logger
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/discussions/2636
2023-05-06 18:56:00 -04:00
Raymond Hill 7f9c4ce45f
Import translation work from https://crowdin.com/project/ublock 2023-05-06 17:26:19 -04:00
Raymond Hill cbc0cbadaa
Fix bad filter counts 2023-05-06 17:08:55 -04:00
Raymond Hill 39bf6ffd13
Make Firefox dev build auto-update 2023-05-06 13:01:19 -04:00
Raymond Hill 80b5f84501
New revision for dev build 2023-05-06 12:55:54 -04:00