Commit Graph

8706 Commits

Author SHA1 Message Date
Raymond Hill ea89baf1fd
Attempt to make make GitHub Actions work 2020-12-09 10:35:02 -05:00
Raymond Hill 392888506c
Attempt to make make GitHub Actions work 2020-12-09 10:26:06 -05:00
Raymond Hill 61b1d87b52
Attempt to make make GitHub Actions work 2020-12-09 10:16:02 -05:00
Raymond Hill 045f6a4cac
Attempt to make make GitHub Actions work 2020-12-09 10:14:36 -05:00
Raymond Hill dca1073a9a
New revision for dev build 2020-12-09 09:10:18 -05:00
Raymond Hill 0b5f53923f
Add basic compatibility with ABP's `rewrite` option
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/857

The recognized resources are:
- abp-resource:blank-mp3
- abp-resource:blank-js

ABP's tokens are excluded from auto-complete so as to not
get in the way of uBO's filter list maintainers.
2020-12-09 08:16:28 -05:00
Raymond Hill b553a66f70
Remove `update_info_url` to prevent Firefox from using the link
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1391
2020-12-09 07:56:32 -05:00
Raymond Hill ec8a9dcd82
Update main.yml 2020-12-08 13:35:28 -05:00
Raymond Hill 0605b3222d
Merge branch 'master' of github.com:gorhill/uBlock 2020-12-08 13:28:49 -05:00
Raymond Hill 4c2b1493bc
Make Firefox dev build auto-update 2020-12-08 13:26:00 -05:00
Raymond Hill 958c1cf9ea
Update main.yml 2020-12-08 12:37:09 -05:00
Raymond Hill 42a9f99489
Create main.yml
This probably won't work...
2020-12-08 12:05:02 -05:00
Raymond Hill 3ff6617ea3
Fix block filter reported in the logger despite being excepted
Reported internally by @uBlock-user.

Also, fixed broken caching of `cname` exception, which forced
uBO to repeatedly evaluate whether a `cname` exception exists
when a block `cname`-cloaked request is encountered.
2020-12-08 11:16:17 -05:00
Raymond Hill a440bcbc46
Import translation work from https://crowdin.com/project/ublock 2020-12-08 10:43:02 -05:00
Raymond Hill 5c9b9b6aa3
New revision for dev build 2020-12-08 10:41:05 -05:00
Raymond Hill 9aef41738b
Prevent non-stable `uiTheme` from being used in stable build
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1389

Asking people to respect the warning in the documentation
does not work, consequently the setting will be now disabled
for stable releases.
2020-12-08 10:11:34 -05:00
Raymond Hill 5d7b2918ef
Harden processing of changes in compiled list format
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1365

This commit adds the compiled magic version number to the
compiled data itself, and consequently this allows uBO
to no longer require that any given compiled list with a
mismatched format to be detected and discarded at launch
time.

Given this change, uBO no longer needs to rely on the
deletion of cached data at launch time to ensure it
won't use no longer valid compiled lists.
2020-12-08 10:00:47 -05:00
Raymond Hill 780b605bad
Fix missing magnifier in document-blocked page
Related feedback:
- e559cb73b9 (commitcomment-44887972)

Regression from:
- e559cb73b9
2020-12-07 14:32:59 -05:00
Raymond Hill 78d7094616
Make Firefox dev build auto-update 2020-12-07 13:50:56 -05:00
Raymond Hill 5d838c2098
Import translation work from https://crowdin.com/project/ublock 2020-12-07 11:28:10 -05:00
Raymond Hill ba6339ba75
New revision for dev build 2020-12-07 11:16:18 -05:00
Raymond Hill 904aa87e2a
Fix various regression in behavior of `redirect-rule=`
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1388

Fixed the special `none` redirect resource no longer being
enforced.

Fixed the enforcement of `important` redirect rules over
exceptions and non-important ones.
2020-12-07 11:12:41 -05:00
Raymond Hill 5d7a5a559d
Fix broken `redirect-rule=` priority parser
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1388

Regression from:
- cf2c638d8e
2020-12-07 10:49:05 -05:00
Raymond Hill ff5390f3a0
Make Firefox dev build auto-update 2020-12-06 12:10:51 -05:00
Raymond Hill a6fc978f70
Import translation work from https://crowdin.com/project/ublock 2020-12-06 11:29:09 -05:00
Raymond Hill 6d9dc3ac0c
New revision for dev build 2020-12-06 11:25:59 -05:00
Raymond Hill e559cb73b9
Complete removal of font-based Fontawesome icons
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/249
2020-12-06 11:24:04 -05:00
Raymond Hill add3fddc85
Make Firefox dev build auto-update 2020-12-05 15:55:44 -05:00
Raymond Hill b3433057a5
New revision for dev build 2020-12-05 15:32:05 -05:00
Raymond Hill 7b16c11b87
Import translation work from https://crowdin.com/project/ublock 2020-12-05 15:31:28 -05:00
Raymond Hill db7f54dbf6
Add support to launch element picker in embedded frames
Related issue:
- https://github.com/gorhill/uBlock/issues/1744

A new context menu entry, "Block element in frame...", will
be present when right-clicking on a frame element. When
this entry is clicked, uBO's element picker will be
launched from within the embedded frame and function the
same way as when launched from within the page.
2020-12-05 15:26:29 -05:00
Raymond Hill 4b921f10e8
Import translation work from https://crowdin.com/project/ublock 2020-12-05 15:21:21 -05:00
Raymond Hill 5b92f93e7c
Make Firefox dev build auto-update 2020-12-04 09:31:36 -05:00
Raymond Hill 244e8fb87d
New revision for dev build 2020-12-04 07:57:02 -05:00
Raymond Hill c77f697b4b
Reuse duplicate strings stored in tries
This is particularly helpful for static network filters
used with filter options causing the same pattern to be
reused across multiple filter instances, i.e. `all` or
`~css`, etc.
2020-12-04 07:53:01 -05:00
Raymond Hill e8e4a1ac74
Wait for removal of storage entries to be completed
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1365

When compiled data format changes, do not rely on order
of operations at launch to assume deletion of storage
occurs before attempts to access it. It's unclear this
commit will fix the reported issue, as I could not
reproduce it except when outright commenting out the code
to prevent the storage deletion from occurring.
2020-12-04 06:17:18 -05:00
Raymond Hill da9d068243
Fix improper typeof test for string type
Regression from:
- b12e0e05ea

This broke the ability to provide a link to the actual
asset on the remote server in the asset viewer.
2020-12-03 11:52:49 -05:00
Raymond Hill d44988cb46
Make Firefox dev build auto-update 2020-12-03 10:15:34 -05:00
Raymond Hill 48dd54208f
New revision for dev build 2020-12-03 08:13:01 -05:00
Raymond Hill 1de8349045
Fix hint helper in element picker's text editor
Regression from:
- 262a1a044f
2020-12-03 07:34:50 -05:00
Raymond Hill 210ec6b1aa
Make Firefox dev build auto-update 2020-12-02 16:16:15 -05:00
Raymond Hill ee87bda326
Fix regression in syntax rendering of redirect values in asset viewer
Related commit:
- 262a1a044f
2020-12-02 13:07:29 -05:00
Raymond Hill f8b15ed6cc
Fix calls to tab.removeCSS()
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1375
2020-12-02 10:46:59 -05:00
Raymond Hill 4d68d7f586
Fix handling of no-longer-existing port condition
The condition has been spotted occurring when bringing
up the DOM inspector for a page on which cosmetic filters
are being applied.

Not clear why this happens, but uBO must be ready to
graciously handle such condition.
2020-12-02 10:07:14 -05:00
Raymond Hill 262a1a044f
Improve auto-complete of hostname values in "My filters"
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1134

Related commit:
- daf464b3c3
2020-12-02 09:09:28 -05:00
Raymond Hill cb7ec8ac1c
New revision for dev build 2020-12-02 08:23:51 -05:00
Raymond Hill 26dc7a1490
Minor review of redirect-related code
Notably, I finally settled for implicit priority of
0, but now negative priority values are allowed.
2020-12-02 08:18:55 -05:00
Raymond Hill a48e986546
Make Firefox dev build auto-update 2020-12-01 13:06:12 -05:00
Raymond Hill 59c0762eb6
New revision for dev build 2020-12-01 09:36:37 -05:00
Raymond Hill cf2c638d8e
Improve reporting of matching `redirect=` rules in logger
All matching `redirect-rule` directives will now be reported
in the logger, instead of just the effective one.

The highest-ranked redirect directive will be the one
effectively used for redirection. This way filter list
authors can see whether a lower priority redirect is
being overriden by a higher priority one.

The default priority has been changed to 10, so as to allow
more leeway to create lower ranked redirect directives.

Additonally, rendering of redirect directives with explicit
priority has been fixed in the logger, they will no longer
be rendered as unknown redirect tokens.
2020-12-01 09:29:40 -05:00