Commit Graph

90 Commits

Author SHA1 Message Date
Raymond Hill e917213e81
Sixth pass to re-design the dashboard
Related commits:
- 0662767dd6
- 99b2a0a761
- a8e3118fea
- 453f5450b6
- a45a21f337

This commit focuses on implementing the use of
CSS `var(...)` throughout so as to make it easy
to create themes -- a requirement for uBO to
support a dark theme.

There is still work to do regarding converting
uBO's CSS to completely support `var(...)` but
being able to start using theming will help
complete and fine tune CSS `var(...)` support.

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/401
2020-04-13 09:19:58 -04:00
Raymond Hill 0662767dd6
Fifth pass to re-design the dashboard
Related commits:
- 99b2a0a761
- a8e3118fea
- 453f5450b6
- a45a21f337

Fine tuned previous work.

Started the use of variable-based color values.
2020-04-11 11:32:43 -04: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 44fe38c9fe
Minor cleanup of HTML code 2020-02-09 10:41:10 -05:00
Raymond Hill 56cc2b1256
Support expanding/collpasing of specific domains
This is related to the list of domains/subdomains in
the dynamic filtering pane of the popup panel.

Related issue:
- https://github.com/gorhill/uBlock/issues/284

Clicking on the empty space of a row will toggle
the visibility of the subdomains.

Additionally, the root context will always be visible
regardless of the expand/collspase state, along with
a visual indicator that a specific domain or subdomain
is the actual root context.  (the root context is the
hostname in which local rules are created).
2019-12-30 09:54:11 -05:00
Raymond Hill ed5d63df69
Grand refactoring of the logger
Performance-related work: the logger data has been decoupled
from the DOM -- inspired from CodeMirror's way of efficiently
handling large amout of text data.

This decoupling now makes the logger highly efficient CPU- and
memory-wise, and open the way to more possibilities.

Ability to configure some aspect of the logger behavior and
visuals:
- The hard-coded limit of 5000 entries has been
  removed and is now replaced with a variety of
  user-configurable settings to enforce the discarding of
  logger entries.
- Some columns in the logger output can now be hidden.

The filter list look-up feature has been merged into the
existing overlay dialog used to create URL rules or static
filters, as an entry in a new "Details" pane.

Other issues addressed during refactoring:
- https://github.com/uBlockOrigin/uBlock-issues/issues/280
- https://github.com/gorhill/uBlock/issues/1999

The minimum version supported on Firefox has been bumped
up to 55.0.
2019-01-12 16:36:20 -05:00
Raymond Hill 87cf95c04b
Avoid redundant DOM attributes in dynamic filtering pane
Move redundant attributes in cells to parent row; use
Element.closest() to look-up these attributes when needed.
2018-12-29 06:54:05 -05:00
Raymond Hill bb737e29d5
Revert use of Fontawesome v5; use 4.7 or equivalent: see <>https://github.com/uBlockOrigin/uBlock-issues/issues/249#issuecomment-448587658 2018-12-19 14:05:19 -05:00
Raymond Hill 79905aa798
Fix https://github.com/uBlockOrigin/uBlock-issues/issues/279; partially fix https://github.com/uBlockOrigin/uBlock-issues/issues/249 2018-12-18 13:35:44 -05:00
Raymond Hill 3c85c03194
fix #308, #3436, https://github.com/uBlockOrigin/uBlock-issues/issues/155
<https://github.com/gorhill/uBlock/issues/3436>: a new per-site switch
has been added, no-scripting, which purpose is to wholly disable/enable
javascript for a given site. This new switch has precedence over all
other ways javascript can be disabled, including precedence over dynamic
filtering rules.

The popup panel will report the number of script resources which have
been seen by uBO for the current page. There is a minor inaccuracy to
be fixed regarding the count, and which fix requires to extend request
journaling.

<https://github.com/gorhill/uBlock/issues/308>: the `noscript` tags will
now be respected when the new no-scripting switch is in effect on a given
site.

A default setting has been added to the _Settings_ pane to
disable/enable globally the new no-script switch, such that one can
work in default-deny mode regarding javascript execution.

<https://github.com/uBlockOrigin/uBlock-issues/issues/155>: a new
hidden setting, `requestJournalProcessPeriod`, has been added to
allow controlling the delay before uBO internally process it's
network request journal queue. Default to 1000 (milliseconds).
2018-08-31 18:47:02 -04:00
Raymond Hill c6cab02999
fine-tune logger-related code
- Default to being detached
- Default to "Current tab"
- Append current tab title to "Current tab" entry
- Avoid iterating through all tabs when no change
2018-05-27 08:31:17 -04:00
Raymond Hill 14709d18cf
fix #2809 2018-05-04 08:44:54 -04:00
Raymond Hill f6afd8c90b
help address https://github.com/nikrolls/uBlock-Edge/pull/103 2018-02-04 10:43:10 -05:00
gorhill 8b0df725a1
minor code review (#2072) 2017-11-10 08:01:04 -05:00
gorhill 7b27e8f08a
add further fixes as per feedback (#2072) 2017-11-10 07:53:27 -05:00
gorhill e5afbb2ed7
further make popup panel more ARIA-friendly (#2072) 2017-11-08 07:34:22 -05:00
gorhill e7294a46d4
fix https://github.com/gorhill/uBlock/issues/2072#issuecomment-342594160 2017-11-07 16:38:26 -05:00
gorhill bbda2a9086
code review: preemptively address https://bugzilla.mozilla.org/show_bug.cgi?id=1408996#c9 2017-10-27 14:22:45 -04:00
gorhill e3c4d4d7fe
change dashboard icon: keep the cogs for a future use 2017-09-21 09:06:07 -04:00
gorhill 7291227a64
fix #2836 2017-08-08 11:08:18 -04:00
gorhill a8382e821d
work around for #2734 until fixed in Nightly 2017-07-03 09:51:34 -04:00
gorhill 5360b3b0a9
dashboard icon should be last 2017-06-23 06:48:06 -04:00
gorhill 9b55684551
fix #2718 2017-06-21 15:49:42 -04:00
gorhill 5cc8551137
fix #2671 2017-06-01 12:31:39 -04:00
gorhill c1589cafaa
fix popup panel layout as per feedback: 39aeaa12a7 (commitcomment-22310294) 2017-05-28 13:32:08 -04:00
gorhill 39aeaa12a7
new feature: element zapper 2017-05-27 11:51:24 -04:00
gorhill 8570b63bef
fix title in popup panel HTML 2017-05-09 20:09:52 -04:00
gorhill 599a8274d7
fix #2559 2017-04-25 00:35:40 -04:00
gorhill 0b3d1477f2
add basic mitigation to potential abuse of IDN 2017-04-22 12:57:56 -04:00
gorhill 446d7fad2e fix #2010, #2086 2016-11-05 14:48:42 -04:00
gorhill 269c35a04a fix #1997 2016-09-16 17:41:17 -04:00
gorhill 2b8f960d32 make it easier for users to customize uBO's popup panel with user styles 2016-08-06 11:56:07 -04:00
gorhill 89148351e8 #1163: this implements "block elements by size" 2016-01-17 13:30:43 -05:00
gorhill 7fbde83a28 this fixes #912 2016-01-04 10:48:28 -05:00
gorhill aa3cb0733e this fixes #830 2016-01-02 19:58:08 -05:00
gorhill ee2a657f84 AMO review feedback: remove unecessary files from package 2015-12-26 15:53:56 -05:00
gorhill ee58cb8d54 #671: added tooltips for persist/revert buttons in advanced panel 2015-12-18 11:09:44 -05:00
gorhill a862376104 #671: this adds a tooltip for top-most cells in advanced user mode 2015-12-17 16:45:24 -05:00
gorhill d7523aad6d this fixes #451 2015-12-13 00:56:30 -05:00
gorhill 876c6b3658 use custom tooltip for title bar (see #830) 2015-10-15 19:54:35 -04:00
gorhill c1b2057fe7 default state is "minimized" 2015-07-31 09:22:21 -04:00
gorhill 8dd21c5f49 change of mind: removing 3p-passive because redundancy, better to work on doc 2015-07-27 09:20:47 -04:00
gorhill 35106dcd90 new dynamic rule type: "3p-passive", for css/images 2015-07-24 19:27:23 -04:00
gorhill ad827576ce have the logger open in a separate window 2015-07-01 12:18:03 -04:00
gorhill 113c2e11a5 this (indirectly) fixes #15: let uBlock block remote fonts globally or on a site-basis 2015-06-10 09:23:48 -04:00
gorhill 1e57760fe1 this fixes #262 2015-05-29 19:23:26 -04:00
gorhill ce6eb9b7ac this fixes logger button in popup 2015-05-08 19:00:01 -04:00
gorhill 51e0ce6ad1 this fixes #87 2015-04-24 08:36:19 -04:00
gorhill 651c25c839 fixed popup blocker switch; added ability to manually edit switches 2015-04-09 11:19:31 -04:00
gorhill eaa3ac53d5 better tooltips for popup UI 2015-04-05 14:44:41 -04:00