Commit Graph

448 Commits

Author SHA1 Message Date
Raymond Hill bc6e585b5d
Rephrase `author` entry in manifest 2020-01-30 12:46:54 -05:00
Raymond Hill 7e1868b1c3
Add virtuous signal that remote code execution is not possible
Related Chromium issue:
- https://bugs.chromium.org/p/chromium/issues/detail?id=985759

By expressly restricting JavaScript execution to only code
from the extension package, this explicitly tells code reviewer
that uBO can't execute remote code.

I also had to add `object-src 'self'`, otherwise Chromium
refused to load the extension with the following error message:

> 'content_security_policy': CSP directive 'object-src' must be specified

`object-src 'self'` is the default value.
2019-07-21 10:37:58 -04:00
Raymond Hill 6c34b3c3c9
Use "relax" instead of "toggle"
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/371
2019-06-27 08:16:18 -04:00
Raymond Hill 693687fd74
Add keyboard support for toggling down blocking profile
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/371

By default, no specific keyboard shortcut is predefined,
this will have to be assigned by the user. The command
name in English is "Toggle blocking profile".

The default behavior is to toggle down according to one
of the following scenarios.

a) If script execution is disabled through the no-scripting
switch, the no-scripting switch will be locally toggled
so as to allow script execution. The page will be
automatically reloaded.

b) If script execution is not blocked but the 3rd-party
script and/or frame cells are blocked, local no-op rules
will be set so as to no longer block 3rd-party scripts
and/or frames. The page will be automatically reloaded.

Given this, it may take more than one toggle down command
to reach the lowest blocking profile, which is one where
JavaScript execution is not blocked and 3rd-party scripts
and frames resources block rules, if any, are bypassed
with local no-op rules.

TODO: At this point, I haven't yet decided whether
toggling from the lowest profile should restore the
original highest blocking profile.
2019-06-26 07:47:14 -04:00
Raymond Hill 5c33a57158
fix reported extension error in Chrome 72.0.3622.0
Apparently the "file:///" permission is redundant to the declared
"<all_urls>" permission.
2018-12-05 14:46:35 -05:00
Raymond Hill 6dd6dc5f1d
fix https://www.reddit.com/r/uBlockOrigin/comments/9gwrna/when_you_right_click_and_go_to_options_it_keeps/ 2018-09-18 20:14:09 -04:00
Raymond Hill 3ef4005f63
remove obstacle to modernize codebase with ES6 syntax: bump up min version for Chromium 2018-09-03 14:03:38 -04:00
Raymond Hill 38aabc937a
reorganize cache storage compression; workaround fix for #2812 2018-08-11 10:39:43 -04:00
Raymond Hill 89fd76ac39
use image data instead of paths for browser icons
When using paths, platform implementations of setIcon typically
will fetch the resource then convert to image data internally.
It is preferable for uBO to do this conversion itself as it can
be done only once at launch time.

With chromium-based browsers, using image data eliminate the
incessant network traffic to fetch browser icons as reported
in the extension's dev tool, meaning a good chunk of overhead
is eliminated.

Also, use optimal icon sizes, as of now both chromium and firefox
prefers 16px instead of 19px, and 32px instead of 38px.
2018-05-07 19:03:50 -04:00
Raymond Hill 08495c42e9
complete "debian" as a target platform 2018-04-27 11:43:35 -04:00
Raymond Hill 267f769da9
new revision for dev build 2018-02-21 07:19:38 -05:00
Raymond Hill c26d68405a
new revision for dev build 2018-02-18 07:27:32 -05:00
Raymond Hill 16a7ba8f6e
new revision for dev build 2018-02-16 16:55:52 -05:00
Raymond Hill f98cd53cdc
new revision for dev build 2018-02-16 09:32:49 -05:00
Raymond Hill 7e68061da0
new revision fro dev build 2018-02-15 17:38:24 -05:00
Raymond Hill e65d710f83
new revision for dev build 2018-02-15 17:28:30 -05:00
Raymond Hill 17930cc778
fix #3474, #2823 2018-02-15 17:25:38 -05:00
Raymond Hill baf939e2a4
new revision for dev build 2018-02-12 10:28:32 -05:00
Raymond Hill 99ca4ce88a
new revision for dev build 2018-02-05 12:06:24 -05:00
Raymond Hill d1d96ba30f
new revision for stable release 2018-02-03 12:06:52 -05:00
Raymond Hill ae4677c0c7
new revision for release candidate 2018-02-03 09:35:29 -05:00
Raymond Hill 026286977e
new revision for release 2018-02-03 07:04:04 -05:00
Raymond Hill fb4d412cf6
new revision for release 2018-01-31 12:32:07 -05:00
Raymond Hill 568c1d46e4
new revision for release candidate 2018-01-16 09:20:39 -05:00
Raymond Hill f7d7657293
new revision for release candidate 2018-01-13 09:45:44 -05:00
Raymond Hill 0b684bd419
new revision for release candidate 2018-01-11 11:09:15 -05:00
Raymond Hill d706415890
new revision for dev build 2018-01-10 12:04:56 -05:00
Raymond Hill 225bab9550
new revision for dev build 2018-01-08 14:33:25 -05:00
Raymond Hill 233afcdcac
new revision for dev build 2018-01-07 18:04:12 -05:00
Raymond Hill 7684bfde53
new revision for dev build 2018-01-05 13:24:53 -05:00
Raymond Hill fcd2124ad3
new revision for dev build 2018-01-04 18:30:23 -05:00
Raymond Hill 1c1fdde4d2
new revision for dev build 2018-01-03 14:07:57 -05:00
Raymond Hill 9049909d2d
new revision for dev build 2018-01-02 23:22:40 -05:00
Raymond Hill fc26b5d227
new revision for dev build 2017-12-31 21:15:22 -05:00
Raymond Hill d8d1fa5221
new revision for dev build 2017-12-31 16:06:45 -05:00
Raymond Hill 35eaf267e6
new revision for dev build 2017-12-31 08:46:58 -05:00
Raymond Hill 96576df1e4
new revision for dev build 2017-12-30 11:22:03 -05:00
Raymond Hill 93e76ecf5d
new revision for dev build 2017-12-29 20:36:31 -05:00
Raymond Hill ff67cf5ada
new revision for dev build 2017-12-29 15:56:53 -05:00
Raymond Hill a25166be92
new revision for dev build 2017-12-29 08:06:40 -05:00
Raymond Hill 8d4f2a2d11
new revision for dev build 2017-12-28 14:24:04 -05:00
Raymond Hill 11ccf8e2b9
new revision for dev build 2017-12-22 09:43:28 -05:00
Raymond Hill 904e550fc0
new revision for dev build 2017-12-17 08:15:24 -05:00
Raymond Hill f753952adc
new revision for dev build 2017-12-15 10:10:09 -05:00
Raymond Hill 2ef892c086
new revision for release candidate 2017-12-14 08:26:36 -05:00
gorhill 61a259013c
new revision for release candidate 2017-12-10 15:05:11 -05:00
gorhill 59b6243633
new revision for dev build 2017-12-08 07:15:13 -05:00
gorhill 4b70553263
new revision for dev build 2017-12-07 18:58:04 -05:00
gorhill 916cc3cf78
new revision for release candidate 2017-12-05 14:47:33 -05:00
gorhill e7d5c836d9
new revision for release candidate 2017-12-05 08:43:17 -05:00