Commit Graph

10742 Commits

Author SHA1 Message Date
Raymond Hill eb88e6fb12
Fix bad JSON 2022-12-26 09:11:04 -05:00
Raymond Hill fdd13afdbf
New revision for dev build 2022-12-25 15:24:14 -05:00
Raymond Hill 3f71659aa8
Work related to keyboard shortcuts for page reload
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/896

Additionally, added the keyboard shortcuts to reload the current
tab to the logger. This changes the prior behavior of reloading
the logger content itself.
2022-12-25 10:34:53 -05:00
Raymond Hill 4157171b7f
Use "constant" property for target hntrie container 2022-12-25 08:54:18 -05:00
Raymond Hill 8f66de67e1
Remove gitcdn.link as CDN provider
Appears broken at the moment. Related discussion:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1165#issuecomment-1364607559
2022-12-25 07:40:13 -05:00
Raymond Hill 6a50f41aeb
Internal cell count !== visual cell count
Internal cell count is used to filter the output of the logger. This
commit fixes filtering according to cname alias.
2022-12-24 10:30:25 -05:00
Raymond Hill 8ca95b473d
Make Firefox dev build auto-update 2022-12-24 10:15:35 -05:00
Raymond Hill d43efb7bd1
New revision for dev build 2022-12-24 10:08:48 -05:00
Raymond Hill b194baa089
Fix visual regressions in logger
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2425
2022-12-24 10:04:31 -05:00
Raymond Hill d5f9c05d62
Take `method=` into account when evaluating whether a filter is pure hostname
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2117
2022-12-24 09:49:46 -05:00
Raymond Hill af8cb06a96
Make Firefox dev build auto-update 2022-12-23 16:10:51 -05:00
Raymond Hill 052689e503
New revision for dev build 2022-12-23 16:05:38 -05:00
Raymond Hill 19f8b30d57
New network filter option: `to=[list of domain names]`
Related discussion:
- https://github.com/uBlockOrigin/uBlock-issues/discussions/2412#discussioncomment-4421741

The new option is `to=` and the value is a list of domain list with
similar syntax as `domain=` option. Entity-based syntax is supported,
and also negated hostname.

The main motivation is to give uBO's static network filtering engine
with an equivalent of DNR's `requestDomains` and `excludedRequestDomains`.

Essentially `to=` is a superset of `denyallow=`, but for now I decided
against deprecating `denyallow=`, which still does not support entity-
based syntax and for which negated domains are not allowed.

This commit also introduces the `from=` option, which is just an alias
for the `domain=` option. The logger will render network filters using
the `from=` version.
2022-12-23 15:52:24 -05:00
Raymond Hill 84aa217ede
Fix selection of lists test/benchmark platform 2022-12-23 12:55:15 -05:00
Raymond Hill b6981877ba
Add option to filter by HTTP method in static network filters
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2117

Option: `method=`
Value: a list of `|`-separated lowercased method names. Negated
method names are allowed. These are valid methods:

- connect
- delete
- get
- head
- options
- patch
- post
- put

As per DNR's own documentation:
- https://developer.chrome.com/docs/extensions/reference/declarativeNetRequest/#type-RequestMethod

The logger shows the method used for every network request. It's
possible to filter the logger output for most-common methods: `get`,
`head`, `post`.
2022-12-22 13:15:08 -05:00
Raymond Hill e5a9b066ec
Fix make target `dig-snfe` 2022-12-22 13:13:38 -05:00
Raymond Hill bfed6059d4
Import translation work from https://crowdin.com/project/ublock 2022-12-22 11:10:56 -05:00
Raymond Hill 5038ce9c91
New revision for stable release 2022-12-22 11:07:25 -05:00
Raymond Hill c88f4445d1
Update invalid SDN URL for EasyList Lithuania
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2420
- https://github.com/uBlockOrigin/uBlock-issues/issues/1566#issuecomment-826372745
2022-12-22 10:34:49 -05:00
Raymond Hill e402b758ad
Make Firefox dev build auto-update 2022-12-20 14:45:45 -05:00
Raymond Hill 48cf7c8fcf
New revision for release candidate 2022-12-20 14:36:13 -05:00
Raymond Hill 3fe6846da7
Fix case-sensitiveness in :has-text() (regression)
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/zqot4i/is_there_a_way_to_show_only_element_with_specific/j0zl4ck/
2022-12-20 14:34:54 -05:00
Raymond Hill 73c50a4077
[mv3] Remove "AdGuard CNAME-cloaked Trackers" list
Related issue:
- https://github.com/uBlockOrigin/uBOL-issues/issues/21
2022-12-20 11:23:42 -05:00
Raymond Hill df709d2a75
`actions/create-release@v1`=deprecated, use `ncipollo/release-action@v1`
See <https://github.com/actions/create-release>
2022-12-16 12:17:15 -05:00
Raymond Hill 4552e2d56a
Do not use `a` element to access dashboard
Related issue:
- https://github.com/uBlockOrigin/uBOL-issues/issues/13
2022-12-16 12:05:59 -05:00
gorhill 5fa6a12437 Update build log file
Files changed:
M	dist/mv3/log.txt
2022-12-16 16:26:58 +00:00
Raymond Hill 74765d2cf1
Import translation work from https://crowdin.com/project/ublock 2022-12-16 10:55:32 -05:00
Raymond Hill c46ee72aea
Make Firefox dev build auto-update 2022-12-15 13:41:12 -05:00
Raymond Hill 3e7047f93f
New revision for release candidate 2022-12-15 13:34:44 -05:00
Raymond Hill f596559103
Add `options` stub to `nofab` scriptlet
Related issue:
- https://github.com/uBlockOrigin/uAssets/issues/16010

Related AdGuard commit re. `prevent-fab-3.2.0`:
- 3bfb9b39e9
2022-12-15 13:12:37 -05:00
Raymond Hill af6f1faeb1
Make Firefox dev build auto-update 2022-12-15 11:40:54 -05:00
Raymond Hill 0334906cd6
New revision for release candidate 2022-12-15 11:36:45 -05:00
Raymond Hill f78fb513a1
Support generic exception filter for HTML filtering
Related feedback:
- fa5e4b7769 (commitcomment-93202819)
2022-12-15 11:35:03 -05:00
Raymond Hill a31f74325d
Fix "make lint" errors 2022-12-15 11:20:52 -05:00
Raymond Hill ca43039592
Make Firefox dev build auto-update 2022-12-15 10:25:31 -05:00
Raymond Hill df8c519eed
New revision for release candidate 2022-12-15 10:21:10 -05:00
Raymond Hill fa5e4b7769
Fine tune new exceptor code
Related feedback:
- a91781a495 (commitcomment-93128519)

For instance, do not make exceptor widget available for
exceptions from filter lists.
2022-12-15 10:04:59 -05:00
Raymond Hill e2c3917ecd
Unconditionally set label of toolbar icon
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/discussions/2409
2022-12-15 10:04:03 -05:00
Raymond Hill de92a9fa25
Make Firefox dev build auto-update 2022-12-14 16:21:08 -05:00
Raymond Hill a77be2a172
New revision for dev build 2022-12-14 16:14:56 -05:00
Raymond Hill a91781a495
Rewrite logger's "exceptor" feature
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1861

The "exceptor" feature has been rewritten, with the following
changes as a result:

- The excepted filters cease to exist when closing the logger
- It's now possible to temporary except network filters

When toggling on/off a temporary exception, filter lists are now
fully reloaded. This simplified managing temporary exceptions, and
made it easy to implement temporary exception for network filters,
but this also means there might be a perceptible delay when
adding/removing temporary exceptions. At this point I consider
this an acceptable side-effect just to bring the ability to easily
create temporary exception for network filters, while this
simplified the existing temporary exception code throughout.
2022-12-14 16:04:45 -05:00
Raymond Hill ce3f852bad
Fix npm dev dependencies -- this fixes "make test" 2022-12-14 10:55:02 -05:00
Raymond Hill 2cdc424b28
Make Firefox dev build auto-update 2022-12-14 09:11:36 -05:00
Raymond Hill b04fa53fd6
New revision for release candidate 2022-12-14 08:58:09 -05:00
Raymond Hill d77331f73a
Be sure procedural filterer is present before use
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2407
2022-12-14 08:56:04 -05:00
Raymond Hill 8c64c3c6ac
Make Firefox dev build auto-update 2022-12-13 10:36:22 -05:00
Raymond Hill 2eb9b77ccd
New revision for release candidate 2022-12-13 10:25:31 -05:00
Raymond Hill b603e9e81e
Various code review related to extended filtering
Bring latest changes to procedural cosmetic filtering to uBOL.

Fix procedural filtering used in HTML filters.

Standardize quick hash algorithm used throughout to DJB2
(except that initialization step is skipped):
- http://www.cse.yorku.ca/~oz/hash.html#djb2
2022-12-13 10:23:51 -05:00
Raymond Hill 5ad2c34212
Make Firefox dev build auto-update 2022-12-12 14:16:52 -05:00
Raymond Hill 12a7d785a1
New revision for dev build 2022-12-12 14:05:26 -05:00