Commit Graph

11610 Commits

Author SHA1 Message Date
Raymond Hill 11ebb736ca
Import translation work from https://crowdin.com/project/ublock 2023-11-06 12:16:48 -05:00
Raymond Hill 7823d98070
Harden scriptlets which need to serialize function code into string
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2907
2023-11-06 09:10:21 -05:00
Raymond Hill 5d1618e1be
Reset potential `g` regex before use in `replace=` option
Related discussion:
https://github.com/uBlockOrigin/uAssets/issues/5184#issuecomment-1794058253
2023-11-06 07:16:41 -05:00
Raymond Hill b2bf5c255e
Make Firefox dev build auto-update 2023-11-05 20:50:47 -05:00
Raymond Hill 815d66bfcc
New revision for dev build 2023-11-05 20:39:09 -05:00
Raymond Hill b87570bda8
Update changelog 2023-11-05 20:38:28 -05:00
Raymond Hill cdc3f66a6b
Reset `g` regexes before use in `rmnt`/`rpnt` scriptlets 2023-11-05 20:35:05 -05:00
Raymond Hill bf001f4796
Make Firefox dev build auto-update 2023-11-05 19:30:51 -05:00
Raymond Hill 284bf060d0
Fix github actions workflow 2023-11-05 19:26:02 -05:00
Raymond Hill c3e62784fb
Update changelog 2023-11-05 19:20:35 -05:00
Raymond Hill ead73c3e3a
New revision for dev build 2023-11-05 19:17:13 -05:00
Raymond Hill 6417f54299
Apply response filtering according to mime type
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2833
2023-11-05 19:13:38 -05:00
jambohawk 971f36c78e
Update assets.json
I believe this is a typo?
2023-11-05 17:01:06 -06:00
Raymond Hill eb93ce862d
Do not use `@latest`, there is no `master` branch at `uAssetsCDN`
Related documentation:
https://github.com/jsdelivr/jsdelivr#omit-the-version-completely-or-use-latest-to-load-the-latest-one-only-works-with-valid-semver-versions-not-recommended-for-production-usage
2023-11-05 17:23:07 -05:00
Raymond Hill 6027abfe12
Need to use `g` flag in `sed`for all instances in one line 2023-11-05 16:50:21 -05:00
Raymond Hill 875402b292
Move the repetitive portion of release notes to the bottom 2023-11-05 16:42:33 -05:00
Fanboynz 4ab1c36ac9
Add t/f to set-cookie (#3905) 2023-11-05 16:07:58 -05:00
Raymond Hill 931187d903
Make Firefox dev build auto-update 2023-11-05 15:11:11 -05:00
Raymond Hill 6a804583b7
New revision for dev build 2023-11-05 14:55:43 -05:00
Raymond Hill 1055203542
Avoid creating a session if there are no jobs 2023-11-05 14:54:59 -05:00
Raymond Hill ce835bb300
Remove extraneous increment in charset sniffing code
Related commit:
7c3e060c01

Related feedback:
7c3e060c01 (commitcomment-131759551)
2023-11-05 14:19:06 -05:00
Raymond Hill 737799e43d
Expand GitHub Actions to Fill the release notes
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2937

Hopefully this works as expected in next release.
2023-11-05 14:02:46 -05:00
Raymond Hill a2d942e491
Make Firefox dev build auto-update 2023-11-05 13:05:54 -05:00
Raymond Hill 15773caedc
new revision for dev build 2023-11-05 12:51:41 -05:00
Raymond Hill b69b0b5fb9
Add more mimes as valid target for response filtering
Related feedback:
7c3e060c01 (commitcomment-131754750)

application/vnd.apple.mpegurl
Reference:
https://www.iana.org/assignments/media-types/application/vnd.apple.mpegurl

application/vnd.api+json
Reference:
https://www.iana.org/assignments/media-types/application/vnd.api+json
2023-11-05 12:50:03 -05:00
Raymond Hill 2de1ebc2c3
Make Firefox dev build auto-update 2023-11-05 11:56:29 -05:00
Raymond Hill dfa419ff80
New revision for dev build 2023-11-05 11:37:00 -05:00
Raymond Hill d7c99b46e6
Have `urltransform=` use the same syntax as `replace=`
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2924
2023-11-05 11:19:03 -05:00
Raymond Hill 5f78d83fea
Fix various code paths in bodyFilterer
Related to extracting charset of response body.
2023-11-05 10:32:23 -05:00
Raymond Hill 1cf634cce0
Leave out hash part when extracting patch file name
Related commit:
aeff955667
2023-11-05 08:03:43 -05:00
Raymond Hill 247972c0d3
Make Firefox dev build auto-update 2023-11-04 10:01:21 -04:00
Raymond Hill 970b51539c
New revision for dev build 2023-11-04 09:55:45 -04:00
Raymond Hill c38267bb2b
Fix `charset` sniffing in reworked response body filtering code
Related feedback:
https://github.com/uBlockOrigin/uBlock-discussions/discussions/830

Related commit:
https://github.com/uBlockOrigin/uBlock-issues/discussions/2537#discussioncomment-5277574
2023-11-04 09:50:10 -04:00
Raymond Hill 4de6bd6f07
Fix potential exceptions in new response body filtering code
Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/discussions/2929

Related commit:
7c3e060c01
2023-11-04 09:43:38 -04:00
Raymond Hill 4774a39b17
[mv3] Fix converter to DNR rules 2023-11-03 21:32:44 -04:00
Raymond Hill 4c48148eb2
Support auto-complete for `from=` same as `domain=` 2023-11-03 20:19:19 -04:00
Raymond Hill 6f8ce65765
Make Firefox dev build auto-update 2023-11-03 19:20:59 -04:00
Raymond Hill d12d014b10
Import translation work from https://crowdin.com/project/ublock 2023-11-03 19:13:07 -04:00
Raymond Hill d68912e5b3
New revision for dev build 2023-11-03 19:03:27 -04:00
Raymond Hill 7c3e060c01
Implement network filter option `replace=`
Reference documentation:
https://adguard.com/kb/general/ad-filtering/create-own-filters/#replace-modifier

This is a network filter option which can only be loaded from a
trusted source.

Since this filter is about modifying the response body, it currently
only works in Firefox.

As discussed with filter list maintainers.
2023-11-03 19:01:01 -04:00
Raymond Hill aeff955667
Extract list name from hash portion of `! Diff-Path:` 2023-11-03 18:39:14 -04:00
Raymond Hill b7bb26807d
Make Firefox dev build auto-update 2023-11-03 10:56:05 -04:00
Raymond Hill ae2e35d2bd
New revision for dev build 2023-11-03 10:43:51 -04:00
Raymond Hill 89b272775a
Prevent evaluating the SNFE until fully loaded
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2925
2023-11-03 10:01:40 -04:00
Raymond Hill 605ad238b4
Report modifier stats in built-in benchmark of SNFE 2023-11-02 19:23:06 -04:00
Raymond Hill 4032ac9149
Minor re-wording in log output 2023-11-02 11:49:15 -04:00
Raymond Hill 4a57c174a5
Make Firefox dev build auto-update 2023-11-01 16:16:36 -04:00
Raymond Hill 825a621be8
New revision for dev build 2023-11-01 10:56:30 -04:00
Raymond Hill 69fce3aa6e
Fine-tune details about when differential update should kick in
Manual update of one or more lists will cause the most recent version
of these lists to be fetched from the "origin" server, and since the
lists from "origin" servers cannot be updated through differential
update, the lists will be subsequently updated according to their
`Expires` directive.

When the lists are auto-updated, the "CDN" servers will be used,
and as a result the lists will start to be updated trhough
differential updates every 6-hour (currently).

Thus it is recommended and optimal to let the lists auto-update,
since you will benefit from a much shorter delay to get up-to-date
lists (i.e. every 6-hour instead of every 6-day).

You can force the auto-updater to fetch all the lists by clicking
"Purge all caches", then restart uBO without clicking "Update".
This will cause uBO to perform an emergency auto-update at restart
time, after which you will have all the lists which are candidates
for differential update.

The "Update now" button in the "Support" pane will also cause lists
to be fetched from their "origin" server.
2023-11-01 10:45:31 -04:00
Raymond Hill 2acf8a638d
Make Firefox dev build auto-update 2023-10-31 16:40:51 -04:00