Commit Graph

7745 Commits

Author SHA1 Message Date
Raymond Hill d78f85454d
Merge branch 'master' of github.com:gorhill/uBlock 2020-05-11 08:08:17 -04:00
Raymond Hill bb8945a629
Import translation work from https://crowdin.com/project/ublock 2020-05-11 08:07:52 -04:00
Raymond Hill 14b4865d7e
New revision for release candidate 2020-05-11 08:07:18 -04:00
Raymond Hill f842ab6d3c
Add new scriptlet to allow blocking Amazon's apstag.js
Related issues:
- https://github.com/NanoMeow/QuickReports/issues/3717
- https://www.reddit.com/r/uBlockOrigin/comments/ghjqph/

The specific issue on the mentioned site is that the
site's code expect `window.apstag.fetchBids` to call
client-supplied function. The new scriptlet defuse this
by calling the client code with an empty array.
2020-05-11 07:57:14 -04:00
Raymond Hill 2b955fab59
Make Firefox dev build auto-update 2020-05-10 07:50:46 -04:00
Raymond Hill 176fe14f93
New revision for release candidate 2020-05-10 07:43:59 -04:00
Raymond Hill cb719f9280
Import translation work from https://crowdin.com/project/ublock 2020-05-10 07:43:30 -04:00
Raymond Hill b94b2834d7
Fire tune CSS in new popup panel 2020-05-10 07:39:59 -04:00
Raymond Hill 6ba38f33aa
Make Firefox dev build auto-update 2020-05-08 09:30:49 -04:00
Raymond Hill a4aa5c15df
New revision for release candidate 2020-05-08 09:21:08 -04:00
Raymond Hill c42f23c131
Rerrange popup panel layout initializing code
Specifically, the sticky controls box is re-parented
pre-emptively instead of waiting for the decision as
to whether the panel must be toggled into a vertical
layout mode.
2020-05-08 09:16:20 -04:00
Raymond Hill d8bf72a435
Minor fine-tuning of visual of `select` elements
Additionally, have the width of the page selector
in the logger proportional to the width of the
logger -- this should improve usability on small
screen devices.
2020-05-08 06:38:23 -04:00
Raymond Hill 6d51c9fb6c
Make Firefox dev build auto-update 2020-05-07 15:50:36 -04:00
Raymond Hill 4540b7d19c
Import translation work from https://crowdin.com/project/ublock 2020-05-07 15:47:08 -04:00
Raymond Hill 365e0a6ad9
New revision for release candidate 2020-05-07 15:44:36 -04:00
Raymond Hill b226873bdb
Wait a bit longer before testing viewport width 2020-05-07 15:42:30 -04:00
Raymond Hill 2d960cf530
Test against `window.innerWidth` to toggle vertical layout 2020-05-07 15:24:39 -04:00
Raymond Hill 7fb3ee67d6
Make Firefox dev build auto-update 2020-05-06 20:40:22 -04:00
Raymond Hill ae1f014e14
New revision for release candidate 2020-05-06 20:35:22 -04:00
Raymond Hill 80b758e18d
Let the platform pick the default suspend state at launch
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1004

The fix is trivial enough that I feel confident to make
it part of current RC cycle. There are many reports of
block page at launch on Chromium.

The fix is to let the platform pick it's natural suspend
state rather than force it. Once advanced settings are
read, the suspend state will for toggled only if
`suspendTabsUntilReady` is either `yes` or `no`. This
there should no longer be blocked page on Chromium at
launch when using default settings.

Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/gac2h8/
2020-05-06 20:30:58 -04:00
Raymond Hill e59ec0cdd0
Make Firefox dev build auto-update 2020-05-06 18:45:27 -04:00
Raymond Hill 4aefbaa1d4
New revision for release candidate 2020-05-06 18:39:57 -04:00
Raymond Hill 1a4e7a33b7
Simplify max-width rule of popup panel
Maybe it will help avoid the spurious
fall-into-vertical-layout issue. Maybe not.
2020-05-06 18:38:05 -04:00
Raymond Hill e785017808
Make Firefox dev build auto-update 2020-05-06 11:55:17 -04:00
Raymond Hill 3adeaeecdc
New revision for release candidate 2020-05-06 11:45:15 -04:00
Raymond Hill 104a1af6c2
Opacity transition probably not needed after all
Originally the idea was to hide from view the
popup panel layout seemingly being recalculated
by the browser at open time, causing visuals in
the popup panel to slightly move around. Possibly
no longer an issue now that the popup panel
initialization code has been modified since then
to use animation frames.
2020-05-06 11:24:07 -04:00
Raymond Hill 65d9e3f820
Shorten transition duration 2020-05-06 11:19:45 -04:00
Raymond Hill f676b8bc9f
Make Firefox dev build auto-update 2020-05-06 10:50:44 -04:00
Raymond Hill ec0e182744
new revision for release candidate 2020-05-06 10:45:06 -04:00
Raymond Hill 6c9f01bf9f
Import translation work from https://crowdin.com/project/ublock 2020-05-06 10:44:15 -04:00
Raymond Hill 563ba9136c
Improve heuristic to toggle panel to vertical layout
By using a larger tolerance.

Also, ensure that the hover visuals are still
being used in vertical layout mode on non-mobile
devices.
2020-05-06 10:39:03 -04:00
Raymond Hill 88e92544fa
Make Firefox dev build auto-update 2020-05-05 15:00:40 -04:00
Raymond Hill 7ae05e353b
New revision for release candidate 2020-05-05 14:36:44 -04:00
Raymond Hill 40b0d3a6b4
Minor visual adjustment in "Filter lists" pane 2020-05-05 14:35:38 -04:00
Raymond Hill 374901f605
Merge in some changes from dark branch 2020-05-05 10:03:11 -04:00
Raymond Hill 6c90cdae3a
Avoid fractional pixel in viewport height
Fractional pixel could lead to minor scrollbar
glitch -- reported internally.
2020-05-05 07:08:38 -04:00
Raymond Hill b69d802f17
Override font size of select on desktop
Regression, related commit:
- c7d196d472
2020-05-04 14:08:03 -04:00
Raymond Hill 6103bc76a2
Make Firefox dev build auto-update 2020-05-04 13:00:18 -04:00
Raymond Hill e75d2ff9aa
New revision for dev build 2020-05-04 12:54:41 -04:00
Raymond Hill 56ac0bdd68
Minor fine tuning of popup panel visual
Specifically:
- Comply with Firefox iconography's size: multiple
  of 16px

Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1005
2020-05-04 12:50:44 -04:00
Raymond Hill c7d196d472
Re-design document-blocked page as per feedback
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1005

There is probably more work to do regarding the
shown URL -- it might be better to truncate it
on small screen display since it can be quite
long sometimes.
2020-05-04 12:41:10 -04:00
Raymond Hill a1ef8b3ec8
Fix power button not rendering on Firefox 68 ESR
Related feedback:
- https://github.com/gorhill/uBlock/commit/1f91e527464b#commitcomment-38930600

Looking through MDN documentation, I am unable to
understand why this was broken on Firefox 68 ESR while
this worked fine on Firefox 75.
2020-05-04 11:34:21 -04:00
Raymond Hill 6497d37ead
Make Firefox dev build auto-update 2020-05-03 13:05:58 -04:00
Raymond Hill f9cb23d3df
New revision for dev build 2020-05-03 12:58:34 -04:00
Raymond Hill e2e1558d57
Import translation work from https://crowdin.com/project/ublock 2020-05-03 12:57:42 -04:00
Raymond Hill 5be0be7881
Report popup/popunder when using 'other' filter in logger
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1007
2020-05-03 12:53:13 -04:00
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