Commit Graph

8787 Commits

Author SHA1 Message Date
Raymond Hill 07035789a4
Make Firefox dev build auto-update 2021-01-08 11:01:16 -05:00
Raymond Hill c2d2ed93a8
New revision for dev build 2021-01-08 10:55:33 -05:00
Raymond Hill 0f330c7359
Add ability to linger for remove-attr scriplet
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1445

A third (optional) argument has been added to `remove-attr`
scriptlet, which can be one or more space-separated tokens
dictating the behavior of the scriptlet:

`stay`: This tells the scriplet to stay and act on DOM
changes, whiĺe the default behavior is to act only once
when the document becomes interactive.

`complete`: This tells the scriplet to start acting only
when the document is complete, i.e. once all secondary
resources have been loaded, while the default is to start
acting when the document is interactive -- which is earlier
than when the document is complete.

Example:

    ...##+js(remove-attr, class, .j-mini-player, stay)
2021-01-08 10:45:35 -05:00
Raymond Hill 0e3071dd50
Add `filterLists` property to managed storage
The entry `toOverwrite.filterLists` is an array of
string, where each string is a token identifying a
stock filter list, or a URL for an external filter
list.

This new entry is to make it easier for an
administrator to centrally configure uBO with a
custom set of filter lists.
2021-01-08 09:18:26 -05:00
Raymond Hill e4e7cbc78f
Use better identifying name for overview panel 2021-01-07 08:19:47 -05:00
Raymond Hill 1fcc3c6ddc
Add URL as tooltip 2021-01-07 08:19:02 -05:00
Raymond Hill 6dfdac6719
Make Firefox dev build auto-update 2021-01-06 12:16:00 -05:00
Raymond Hill 8fea3d2965
New revision for dev build 2021-01-06 12:11:04 -05:00
Raymond Hill c75e347c05
Add missing no-dashboard page
Related commit:
- cc9c45f1e4
2021-01-06 12:09:53 -05:00
Raymond Hill 2326ed9722
Make Firefox dev build auto-update 2021-01-06 11:55:55 -05:00
Raymond Hill c68df52d8a
New revision for dev build 2021-01-06 11:47:44 -05:00
Raymond Hill cc9c45f1e4
Adding to and further reviewing admin-managed settings 2021-01-06 11:39:24 -05:00
Raymond Hill 2ab11603f0
Allow everybody to use now-stable `queryprune=`
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/760
2021-01-06 11:17:07 -05:00
Raymond Hill b392866803
Make Firefox dev build auto-update 2021-01-05 16:05:50 -05:00
Raymond Hill 5f323f270e
Remove stray comma 2021-01-05 15:58:55 -05:00
Raymond Hill 877dec4456
New revision for dev build 2021-01-05 12:20:21 -05:00
Raymond Hill c1130ec843
Add support for admin-managed hidden settings
Related discussion:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1437#issuecomment-754127066
2021-01-05 12:16:50 -05:00
Raymond Hill d254c7c304
Make Firefox dev build auto-update 2021-01-04 08:10:57 -05:00
Raymond Hill a45996f1bd
New revision for dev build 2021-01-04 07:58:28 -05:00
Raymond Hill b28acfccbc
Add "extraTrustedSiteDirectives" as new admin policy
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1433

The new "extraTrustedSiteDirectives" policy is an array
of strings, each of which is parsed as a trusted-site
directive to append to a user's own set of trusted-site
directives at launch time.

The added trusted-site directives will be considered as
part of the default set of directives by uBO.
2021-01-04 07:54:24 -05:00
Raymond Hill ced4330d74
Make Firefox dev build auto-update 2021-01-02 12:50:58 -05:00
Raymond Hill 415152aa57
New revision for dev build 2021-01-02 12:42:26 -05:00
Raymond Hill 2bb33aac20
Be sure to use only a valid journal slot pointer
Related commit:
- 70cabc1cc6
2021-01-02 12:41:13 -05:00
Raymond Hill 3cf9a187fe
Make Firefox dev build auto-update 2021-01-02 12:16:09 -05:00
Raymond Hill 752191a04f
Make sure journal slot pointers are properly reset
For when the same page store is recycled later.
2021-01-02 12:07:31 -05:00
Raymond Hill 873054435b
New revision for dev build 2021-01-02 12:00:43 -05:00
Raymond Hill 70cabc1cc6
Better report secondary requests with quick redirections
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1241

uBO will not discard secondary requests fired before a root
frame is committed, by ensuring that if newly uncommitted
root frames are of the same origin as previous one(s), the
uncommited journal slot pointer is not updated.
2021-01-02 11:52:16 -05:00
Raymond Hill 4f53e08741
Make Firefox dev build auto-update 2021-01-01 10:46:04 -05:00
Raymond Hill 4d42969a1d
Import translation work from https://crowdin.com/project/ublock 2021-01-01 10:31:23 -05:00
Raymond Hill 4275b308bb
New revision for dev build 2021-01-01 10:29:43 -05:00
Raymond Hill c2357c5cd6
Just extract token from queryprune -- don't create pattern
Related commit:
- 6ac09a2856

Patternless `queryprune` ar enow preserved as being
pattern-less while still attempting to extract a token
from the `queryprune` value. This allows to report the
filter in the logger same as its original form.
2021-01-01 10:23:40 -05:00
Raymond Hill 8052c0ca14
Make Firefox dev build auto-update 2020-12-29 09:10:39 -05:00
Raymond Hill ce9dbbbf4c
New revision for dev build 2020-12-29 09:08:29 -05:00
Raymond Hill 1669d122df
Add resource for noop VMAP
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1425

The resource content is a copy/paste of AdGuard's code:
- bc5eec1989/src/redirects/static-redirects.yml (L134)
2020-12-29 09:05:28 -05:00
Raymond Hill 48bf0ffb1b
New revision for dev build 2020-12-29 09:05:03 -05:00
Raymond Hill b003c4de3d
Import punycode library in "My rules"
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1424
2020-12-29 08:33:48 -05:00
Raymond Hill 6c2577ce7e
Make Firefox dev build auto-update 2020-12-28 07:40:45 -05:00
Raymond Hill 54e77b1b54
Import translation work from https://crowdin.com/project/ublock 2020-12-28 07:35:19 -05:00
Raymond Hill 5d17289d4a
New revision for dev build 2020-12-28 07:32:36 -05:00
Raymond Hill 2e7f1b8d08
Improve validation of synctactically bad regexes
The following regex are not rejected as invalid when
using built-in regex objects:

    /abc]/
    /a7,18}/
    /a{7,18/

However, as per documentation, they are not supposed to
be valid, as `{` and `}` are special characters and as
such should be escaped:

    /abc\]/
    /a7,18\}/
    /a\{7,18/

With this commit, the regexes will additionally be
validated using the regex analyzer library in the editor
to ensure strict regex syntax compliance so as to avoid
what are likely mistakes in regex crafting by authors.
2020-12-28 07:13:57 -05:00
Raymond Hill 4ba3adc28c
Fix comment 2020-12-28 07:07:04 -05:00
Raymond Hill d910111d4a
Fix parsing of trailing resource
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1419
2020-12-28 07:03:52 -05:00
Raymond Hill 1d2907890b
Make Firefox dev build auto-update 2020-12-27 09:45:25 -05:00
Raymond Hill 224acc4a9f
New revision for dev build 2020-12-27 09:36:30 -05:00
Raymond Hill 6d3ad553b4
Fix word-based selection in filter list editor/viewer
This commit fixes mouse double-click-and-drag operations,
which was broken due to the implementation of a custom
word selection in the filter list editor/viewer.
2020-12-27 09:32:50 -05:00
Raymond Hill f80371e844
Make Firefox dev build auto-update 2020-12-26 10:25:29 -05:00
Raymond Hill 934bd3e80d
new revision fro dev build 2020-12-26 10:16:54 -05:00
Raymond Hill b053477087
Fix potentially missing context in logger for `popup` entries
Reported internally.
2020-12-26 10:15:07 -05:00
Raymond Hill 8e810832ba
Make Firefox dev build auto-update 2020-12-26 09:20:28 -05:00
Raymond Hill 1b686c8204
New revision for dev build 2020-12-26 09:15:30 -05:00