Commit Graph

7649 Commits

Author SHA1 Message Date
Raymond Hill 002a825891
Add tolerance to popup panel when checking viewport width
I meant to add this to last commit:
- a54718862c
2020-05-03 09:26:19 -04:00
Raymond Hill a54718862c
Maybe fix rare spurious viewport width test in popup panel
In rare instances -- though it definitely happens
eventually -- the popup panel viewport width is seen as
insufficiently wide enough and as a result the popup panel
is toggled into vertical-layout mode.

The added code uses animation frames to delay the
code testing the viewport width. Hopefully this will
work.
2020-05-03 09:18:53 -04:00
Raymond Hill 1f91e52746
Simplify HTML a bit 2020-05-02 19:00:44 -04:00
Raymond Hill 30c7c15108
Make Firefox dev build auto-update 2020-05-02 18:41:01 -04:00
Raymond Hill f2ab319c50
Import translation work from https://crowdin.com/project/ublock 2020-05-02 18:31:37 -04:00
Raymond Hill 4689e47ae8
New revision for dev build 2020-05-02 18:29:27 -04:00
Raymond Hill 42dedfbd90
Fine tune power button; fix no-popups switch visual regression 2020-05-02 18:27:53 -04:00
Raymond Hill c56607fe27
Use encodeURIComponent() instead of encodeURI()
Related issue:
- https://github.com/NanoAdblocker/NanoCore/issues/325
2020-05-02 07:20:17 -04:00
Raymond Hill fb85bb20c8
Make Firefox dev build auto-update 2020-05-01 19:55:46 -04:00
Raymond Hill 0270c50b8b
New revision for dev build 2020-05-01 19:50:20 -04:00
Raymond Hill 38cdb42348
Allow hiding blocked count since install in popup panel
Also, more fine tuning of visuals.

Two new advanced settings, to be left undocumented as
"purposefully undocumented setting".
2020-05-01 19:47:01 -04:00
Raymond Hill 040253d586
Make Firefox dev build auto-update 2020-05-01 08:06:04 -04:00
Raymond Hill 206d217e14
Fix persist/revert tools not being shown after changes
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/issues/733#issuecomment-621933750
2020-05-01 07:51:45 -04:00
Raymond Hill 49dea50286
new revision for dev build 2020-05-01 07:46:36 -04:00
Raymond Hill fd08531b27
Import translation work from https://crowdin.com/project/ublock 2020-05-01 07:45:46 -04:00
Raymond Hill 435c888c67
Add gap between power and ruleset buttons 2020-05-01 07:43:11 -04:00
Raymond Hill 2a5dfc20e1
Fine tune CSS of new popup panel 2020-05-01 07:30:22 -04:00
Raymond Hill eeae4b2cab
Add ability to open the dashboard with a keyboard shortcut
Related feedback:
- https://github.com/gorhill/uBlock/commit/9a6feb34d546#commitcomment-38852663
2020-04-30 10:31:23 -04:00
Raymond Hill 1a0cded43f
Make popup panel more/less buttons easier to click 2020-04-30 09:32:32 -04:00
Raymond Hill 8f01f71add
Make Firefox dev build auto-update 2020-04-30 08:20:43 -04:00
Raymond Hill 0538d8ba76
New revision for dev build 2020-04-30 08:06:59 -04:00
Raymond Hill 2f912773b5
Import translation work from https://crowdin.com/project/ublock 2020-04-30 07:35:47 -04:00
Raymond Hill b295d4a0d0
Make the new "fenix" popup panel the default one
The old "classic" popup panel will still be used
when at least one of the following is true:

- advanced setting `uiFlavor` is set to `classic`; or
- the browser is Chromium 65 or older; or
- the browser is Firefox 67 or older

The default configuration of the new popup panel
at installation time is to show the power button,
statistics and the basic tool icons, i.e. access
to dashboard, logger, pickers.

For existing installations, the new popup panel
will be configured by respecting the existing
configuration of the classic one.

The new popup panel is currently already in use
on Firefox for Android, and the visual redesign
was made according to suggestions and feedback
from <https://github.com/brampitoyo> to be
optimal for Firefox for Android.

The new popup panel will allow closing the following
pending issues:

- https://github.com/uBlockOrigin/uBlock-issues/issues/255
- https://github.com/uBlockOrigin/uBlock-issues/issues/178
2020-04-30 06:54:51 -04:00
Raymond Hill 557e06f454
Make Firefox dev build auto-update 2020-04-29 10:10:24 -04:00
Raymond Hill 647c248f15
new revision for dev build 2020-04-29 10:04:25 -04:00
Raymond Hill 018265272d
Import translation work from https://crowdin.com/project/ublock 2020-04-29 10:03:41 -04:00
Raymond Hill 23633b388d
Fix reported "Storage used:" when info is not available 2020-04-29 10:00:58 -04:00
Raymond Hill 3efee017cf
Fix own-rule text color
Related fedback:
- https://github.com/gorhill/uBlock/commit/db9c32185538#commitcomment-38818960
2020-04-29 06:16:59 -04:00
Raymond Hill d364eb9668
Minor code review 2020-04-28 18:39:31 -04:00
Raymond Hill 90be78d7a2
Make Firefox dev build auto-update 2020-04-28 11:36:08 -04:00
Raymond Hill 06063373a8
new revision for dev build 2020-04-28 11:25:20 -04:00
Raymond Hill 848edbbdf6
Import translation work from https://crowdin.com/project/ublock 2020-04-28 11:24:42 -04:00
Raymond Hill 5227013a8e
Add `uBO:` prefix to logged output in some scriptlets
As per request.
2020-04-28 11:19:26 -04:00
Raymond Hill d462b50cec
Improve presentation of advanced settings page
Specifically:

- Fix exception being thrown when createing an
  empty line

- Syntax-color invalid setting names

- Syntax-color non-default values
2020-04-28 11:07:00 -04:00
Raymond Hill 578594bbd7
Improve logging capabilities of json-prune scriptlet
Specifically:

- Log entries as received by client code
- Prettier and more readable console output
- Ability to only log entries matching a
  specific needle

As per internal discussion at
<https://github.com/uBlockOrigin/uAssets>; limited
logging capabilities of json-prune originally raised
by <https://github.com/gwarser>.
2020-04-28 09:47:03 -04:00
Raymond Hill 96343ecf1a
Make Firefox dev build auto-update 2020-04-27 19:15:28 -04:00
Raymond Hill b0f6df8f87
New revision for dev build 2020-04-27 19:10:15 -04:00
Raymond Hill 9a6feb34d5
Re-order sections in the new popup panel
The blocking-stuff button icons have been brought
closer to the power button.

The go-somewhere button icons have been moved at
the bottom.

The hostname of the current site is now shown below
the power button. The base domain is bolded.

This re-ordering is for a few reasons:

- The blocking-stuff button icons are now closer
  to the revert/persist/reload transient buttons
  which show up when modifying the blocking
  behavior of uBO.

- The makes it easier to potentially bring in a
  very basic view where only the power button and
  the statistics are shown and all the button
  icons are hidden from view.
2020-04-27 19:01:16 -04:00
Raymond Hill bdf9030a98
Fix hostname extraction when URL has port
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1001

The issue affected only the uncloaking of canonical
names, when the authority part of a URL contained
port information.
2020-04-27 18:30:49 -04:00
Raymond Hill 6259f88598
Add an alias for window.open-defuser scriptlet
As per request from filter list maintainers.

The alias is `nowoif`, in line with other such
defusing scriplets.
2020-04-27 11:24:41 -04:00
Raymond Hill 363d56ebde
Make Firefox dev build auto-update 2020-04-27 10:51:12 -04:00
Raymond Hill 7a8899573d
New revision for dev build 2020-04-27 10:45:14 -04:00
Raymond Hill f7c838ef27
Import translation work from https://crowdin.com/project/ublock 2020-04-27 10:44:44 -04:00
Raymond Hill db9c321855
More work toward re-hauling the user interface
This commit specifically address bringing the
desktop version of the new popup panel's look
and feel more inline with the classic one:

- Hide tool captions on desktop

- Bring back no-popups switch on desktop

- Bring back tooltips on desktop (though they
  are now rendered natively by the browser)

- Use the Photon icons suggested by @brampitoyo
  for the no-popups and no-remote-fonts
  switches
2020-04-27 10:33:49 -04:00
Raymond Hill a733944624
Add statically.io as CDN provider
As of commit time, the provider caches resources
for at most 24 hours.
2020-04-26 09:59:51 -04:00
Raymond Hill b08673a471
Make Firefox dev build auto-update 2020-04-26 09:26:11 -04:00
Raymond Hill 37b22d0142
Import translation work from https://crowdin.com/project/ublock 2020-04-26 09:07:52 -04:00
Raymond Hill cdf7ac33ec
New revision for dev build 2020-04-26 09:04:51 -04:00
Raymond Hill 43357e4a4d
Mind that checkbox can be in a flex container 2020-04-26 09:02:30 -04:00
Raymond Hill 8ed60af0f9
Fine tune material design-based checkbox code
Summary:
- Make checkbox nodes self-contained
  (a > b) instead of (a + b)
- Revisit logger to use new checkboxes
2020-04-26 08:44:00 -04:00