Commit Graph

36 Commits

Author SHA1 Message Date
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 99b2a0a761
Fourth pass to re-design the dashboard
Related commits:
- a8e3118fea
- 453f5450b6
- a45a21f337

Roughly, the changes in this commit:
- Make it easier to implement a dark theme eventually:
  - Flatten the look of buttons
  - Remove the use of `opacity` style property as a
    color modifier
- Some work toward removing dependency on FontAwesome
  font
2020-04-10 18:17:12 -04:00
Raymond Hill 80a8750d35
Select existing "Advanced settings" page if any
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/591

Additionally, I added a link to the logger in the
"About" pane in the dashboard in order to be able
to access the logger without having to go through
the popup panel.
2019-05-25 08:31:06 -04: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 350c106d41
Add attribution for Fontawesome 5 2018-12-18 18:03:56 -05:00
Raymond Hill ead324d859
GPLv3 requirement: "includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice" 2018-11-02 17:16:44 -03:00
Raymond Hill 44224fe2c7
use old.reddit.com for support URL 2018-05-29 07:40:29 -04:00
Raymond Hill d0c1c7c4c9
add link to issue tracker in dashboard's 'About' 2018-04-27 08:44:25 -04:00
Raymond Hill fce2eaf3c3
further improving UI for small screens 2018-03-28 16:15:50 -04:00
Raymond Hill b10ac0020d
make use of CodeMirror in "My rules" pane 2018-03-11 10:59:39 -04:00
Raymond Hill e5bb1eee1b
add credit for CodeMirror 2018-02-28 19:04:52 -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 0130e2b462
fix support link 2017-09-20 10:28:17 -04:00
gorhill 502dd89d53
fix AMO validation warning re. invalid CSS 2017-08-10 18:55:36 -04:00
Alex Silva 06237767fa Update about.html (#2841) 2017-08-03 17:07:30 -04:00
gorhill fb37378e7c
Revert "Tabnapping prevention (#2529)". Reason: breaks links in dashboard on Firefox.
This reverts commit 557f378bf8.
2017-04-29 10:08:20 -04:00
timse201 557f378bf8 Tabnapping prevention (#2529)
* tabnapping prevention

* Tabnapping prevention

* Tabnapping prevention

* Tabnapping prevention

* Tabnapping prevention
2017-04-26 12:40:41 -04:00
gorhill 1a075bc673 code review: mobile-friendly changes 2017-01-24 08:23:52 -05:00
gorhill 7e23aae879 reverse part of 93001a86, apparently translating "by" is more complicating than first thought 2016-10-01 12:44:08 -04:00
gorhill 93001a8635 fix issue raised on https://crowdin.com/project/ublock: missing ability to translate "by" 2016-09-30 09:48:31 -04:00
gorhill 4290b4b065 fix issue reported on Crowdin: "Support" not available for translation 2016-08-21 20:04:59 -04:00
gorhill 97fff91c23 add missing credit 2016-07-20 18:46:18 -04:00
gorhill c53731248d added link to Mozilla Discourse for support 2016-01-26 17:57:09 -05:00
gorhill 6dd5c832a2 this really fixes #599, #600 2015-08-15 09:24:55 -04:00
gorhill 32b1f4ea86 this fixes #599 2015-08-14 16:18:43 -04:00
gorhill 6fdb681f39 Credit Fontawesome author 2015-04-18 00:05:45 -04:00
gorhill 669850821a hopefully this fixes #1053 2015-03-20 10:36:38 -04:00
Chris 30eafed70a More µ to u 2015-03-09 22:00:48 -06:00
gorhill 881e8111d8 "advanced user" flag + rearranging a bit dashboard 2015-01-06 11:44:06 -05:00
Raymond Hill 2e4c0a2bfe remove depending on vapi-appinfo.js 2014-12-01 14:25:33 -02:00
Raymond Hill 0bf088cd1e this fixes #386, #346, #299, #288, #285, #284, #279 2014-11-29 23:36:53 -02:00
Deathamns d98a8161f9 Drop js-loader, updates from gorhill/uBlock/master 2014-11-09 17:41:02 +01:00
Deathamns 99d8f431d5 input[type="file"].click() didn't work in Safari
Click couldn't be initiated with JavaScript in Safari if the input was
hidden with display: none. Using visibility: hidden or opacity: 0 solves
the problem.

Alternative solution would be to hide (opacity: 0) the input and slide it
(position: absolute; top: 0; left: 0; width: 100%; height: 100%) over the
button, which would work in all browsers, and wouldn't require JavaScript.
2014-11-09 17:40:48 +01:00
Deathamns 6d49ef0dac Avoid using Chrome's @@bidi_* type i18n messages
... for the sake of portability.

When including vapi-common.js in an HTML file, then the body element there
will have a "dir" attribute filled with the current locale's direction
(ltr or rtl).

The following languages are considered right-to-left: ar, he, fa, ps, ur.
Everything else is left-to-right.

After the "dir" attribute is set, we can decide in CSS which elements
should have different styling for rtl languages (e.g., body[dir=rtl] #id).
2014-11-09 17:40:40 +01:00
Deathamns 749b6f186d Use a dedicated file for storing extension info
Chrome has getManifest(), Safari doesn't have anything, Firefox has an
asynchronous API...
So, instead of using extension APIs, store the common informations
(extension name, version, homepage url) in a file (vapi-appinfo.js), which
can be included when it's needed (its data will be available at vAPI.app.____).
The file's content is updated each time the extension is being built, so
it shouldn't be modified manually.
2014-11-09 17:39:38 +01:00
Deathamns 5b79bf3536 Work on vendor API abstraction, and near complete Safari support 2014-11-09 17:39:12 +01:00