Commit Graph

7294 Commits

Author SHA1 Message Date
Raymond Hill b55991d346
Import translation work from https://crowdin.com/project/ublock 2020-02-23 12:26:07 -05:00
Raymond Hill c3160be1eb
New revision for dev build 2020-02-23 12:24:11 -05:00
Raymond Hill 3621792f16
Rework/remove remnant of code dependent on localStorage
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/899
2020-02-23 12:18:45 -05:00
Raymond Hill d16ac963ef
Use correct element id fenix popup panel 2020-02-23 12:16:50 -05:00
Saitama 84635ad38d
mvps list secure protocol http => https (#3769) 2020-02-23 06:57:03 -05:00
Raymond Hill ece5734375
Make Firefox dev build auto-update 2020-02-22 13:46:17 -05:00
Raymond Hill 64d9f90e8e
New revision for dev build 2020-02-22 13:39:58 -05:00
Raymond Hill 15470bcbdc
Ensure disableWebAssembly setting is loaded before use
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/899

WASM modules are now loaded on demand rather than at
script evaluation time.
2020-02-22 13:36:22 -05:00
Raymond Hill 78dd56b7a9
Make Firefox dev build auto-update 2020-02-21 15:46:02 -05:00
Raymond Hill f3eb8970ac
New revision for dev build 2020-02-21 15:41:52 -05:00
Raymond Hill 2ac288397c
Remove usage of synchronous localStorage API
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/899

browser.storage.local is now used to store non-critical
local settings.

These settings are all collated under the key
`localStorage`, and vAPI.localStorage is an API to
handle access to these values stored under this key.

vAPI.localStorage.getItem() is still synchronous but
its purpose is to return internally cached values --
this minimizes code changes throughout uBO.
2020-02-21 15:34:54 -05:00
Raymond Hill 5da3aaaabf
Properly test for WebAssembly presence before use
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/900
2020-02-21 15:21:25 -05:00
Raymond Hill d2b65d0cef
Make Firefox dev build auto-update 2020-02-21 08:30:48 -05:00
Raymond Hill d04c1b29ba
New revision from dev build 2020-02-21 08:27:37 -05:00
Raymond Hill ddc2b11657
Fail graciously if no benchmark dataset found 2020-02-21 08:13:15 -05:00
Raymond Hill b784b7d569
Support loading of benchmark dataset in published versions
New advanced setting: `benchmarkDatasetURL`
Default value: `unset`

To specify a URL from where the benchmark dataset will be
fetched. This allows to launch benchmark operations from
within published versions of uBO, rather than from just
a locally built version.
2020-02-21 08:06:52 -05:00
Raymond Hill 4f75a07b9c
Work toward removing use of localStorage
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/899
2020-02-21 07:48:45 -05:00
Raymond Hill 1a79a53bfd
Make Firefox dev build auto-update 2020-02-20 16:51:02 -05:00
Raymond Hill 7188bf4ed2
New revision for dev build 2020-02-20 16:45:13 -05:00
Raymond Hill 5ccf435754
Add `edge-scheme` to default whitelist directives
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/879
2020-02-20 16:43:56 -05:00
Raymond Hill da0ef9454a
Neutralize `localStorage` access on mobile platform
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/899

window.localStorage is synchronous and thus should be
avoided at launch time. Currently the avoidance is only
for mobile platforms.
2020-02-20 16:40:29 -05:00
Raymond Hill c0947200e5
Import translation work from https://crowdin.com/project/ublock 2020-02-20 10:59:03 -05:00
Raymond Hill ba7d24a338
Wrap long hostnames in popup panel 2020-02-20 08:29:33 -05:00
Raymond Hill 11037fc669
New revision for stable build 2020-02-19 11:05:14 -05:00
Raymond Hill a74403e8be
Import translation work from https://crowdin.com/project/ublock 2020-02-19 08:09:56 -05:00
Raymond Hill 8faadae506
Make Firefox dev build auto-update 2020-02-18 11:46:13 -05:00
Raymond Hill 81f91e4fd4
Put back erroneously removed background color 2020-02-18 11:35:07 -05:00
Raymond Hill 6802e6d32f
Minor color adjustment 2020-02-18 11:31:24 -05:00
Raymond Hill 4c51e595b1
New revision for release candidate 2020-02-18 10:11:10 -05:00
Raymond Hill 69a7c6771b
Fine tune fenix UI as per Bram's feedback 2020-02-18 09:53:20 -05:00
Raymond Hill 40d4a4df25
Make Firefox dev build auto-update 2020-02-17 09:45:25 -05:00
Raymond Hill eb0dc81407
New revision for release candidate 2020-02-17 09:36:40 -05:00
Raymond Hill 7a93301d78
Fine tune UI of "fenix" popup panel 2020-02-17 09:35:58 -05:00
Raymond Hill e123c96bbc
Import translation work from https://crowdin.com/project/ublock 2020-02-17 09:02:52 -05:00
Raymond Hill 6cdb1092dd
Import translation work from https://crowdin.com/project/ublock 2020-02-15 09:43:27 -05:00
Raymond Hill f0c8009da7
Make Firefox dev build auto-update 2020-02-14 12:15:26 -05:00
Raymond Hill 784a78ad00
Remove useless manifest entry for Opera build
Opera's dashboard warns that the `file:///` permission
is not needed.
2020-02-14 12:08:00 -05:00
Raymond Hill 7f10c13d26
New revision for release candidate 2020-02-14 12:07:10 -05:00
Raymond Hill 3fab7bfdb4
Add support for "specific-generic" cosmetic filters
A specific cosmetic filter of the following form...

    *##.selector

... will be unconditionally injected into all web pages,
whereas a cosmetic filter of the form...

    ##.selector

... would be injected only when uBO's DOM surveyor finds
at least one matching element in a web page.

The new specific-generic form will also be disabled when a
web page is subject to a `generichide` exception filter,
since the filter is essentially a generic one -- the only
difference from the usual generic form is that the filter
is injected unconditionally instead of through the DOM
surveyor.

Specific-generic cosmetic filters will NOT be discarded
when checking the "Ignore generic cosmetic filters"
option in the "Filter lists" pane -- since the purpose
of this option is primarily to disable the DOM surveyor.

Specific-generic cosmetic filters should be used
parcimoniously and only when using a normal specific
filter is really impractical.

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/803
2020-02-14 11:51:05 -05:00
Raymond Hill 32b9db67af
Make Firefox dev build auto-update 2020-02-10 08:31:09 -05:00
Raymond Hill 3b7ac5d99a
New revision for dev build 2020-02-10 08:16:27 -05:00
Raymond Hill 8adad98a0d
New way to convey IDN and CNAME info in popup panel
Hostnames which have unpunycoded IDN or canonical
name information will have this information reported
as an extra line under the hostname name in the popup
panel, rather than as a tooltip.

For the fenix UI flavor, the save/revert tools are
now shown regardless of whether the overview area is
visible or not.
2020-02-10 08:06:36 -05:00
Raymond Hill 1a133d0a1f
Make Firefox dev build auto-update 2020-02-09 12:51:02 -05:00
Raymond Hill 4b7bbb150f
Import translation work from https://crowdin.com/project/ublock 2020-02-09 12:43:12 -05:00
Raymond Hill 2030a00f80
New revision for dev build 2020-02-09 12:40:17 -05:00
Raymond Hill 44fe38c9fe
Minor cleanup of HTML code 2020-02-09 10:41:10 -05:00
Raymond Hill 1a8571755e
Harden abort-current-inline-script scriplet
Related issue:
- https://github.com/uBlockOrigin/uAssets/issues/6929
2020-02-09 10:35:18 -05:00
JustOff a806dd4bd2
Add `env_legacy` to the pre-processor supported tokens (#3768)
This will allow specifically target uBlock Origin for Firefox legacy-based browsers in shared filter lists,
see https://github.com/gorhill/uBlock-for-firefox-legacy/pull/1.
2020-02-09 08:23:00 -05:00
Raymond Hill f182b00434
Make Firefox dev build auto-update 2020-02-06 12:00:28 -05:00
Raymond Hill e64d418f85
New revision for dev build 2020-02-06 11:47:14 -05:00