1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-18 17:02:27 +02:00
uBlock/platform
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
..
chromium Add keyboard support for toggling down blocking profile 2019-06-26 07:47:14 -04:00
firefox Use browser_specific_settings instead of applications 2019-05-06 11:34:15 -04:00
opera Set minimum Opera version to 40 (Chromium 53) 2019-01-25 08:41:15 -05:00
safari Compress the icon PNGs with zopflipng (#3458) 2018-04-15 06:30:40 -04:00
thunderbird Experimental Thunderbird 65+ support: experimental 2019-01-20 12:22:40 -05:00
webext Minor generic code review of changes since 1.18.2 2019-02-02 08:09:34 -05:00