Commit graph

36 commits

Author SHA1 Message Date
Raymond Hill
87d0e456f1
Simplify client messaging code
Little-used code from vapi-client.js has been moved
to vapi-client-extra.js. Given that vapi-client.js
is injected in all web pages, this means less dead
code being injected in all pages.

Swathes of code in vapi-client.js was used only in
a few very specific cases, such as when the logger's
DOM inspector is opened or when the "Filter lists"
pane in the dashboard is opened -- and thus to avoid
that little used code to be loaded in every web page
unconditionally, it has been moved to its own
separate file, vapi-client.extra.js.

vapi-client-extra.js is loaded declaratively or
programmatically only where needed.
2019-09-19 08:31:38 -04:00
Raymond Hill
cae7484be1
fix https://github.com/uBlockOrigin/uBlock-issues/issues/171 2018-08-31 10:50:19 -04:00
Raymond Hill
8436ccbc4e
improve ckoud widget for small screen devices 2018-04-10 11:21:56 -04:00
Raymond Hill
b60c06f3c4
various improvements to the "Filter lists" pane 2018-04-09 09:01:39 -04:00
Raymond Hill
fce2eaf3c3
further improving UI for small screens 2018-03-28 16:15:50 -04: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
efffa5e183
trashcan instead of X to remove an imported list 2017-07-07 11:31:37 -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
669be3d45d
fine tune tooltips in 3rd-party lists pane 2017-04-26 12:21:01 -04:00
gorhill
0e11d6e95e code review: fix rtl rendering of 3rd-party filters pane 2017-01-24 13:53:04 -05:00
gorhill
1a075bc673 code review: mobile-friendly changes 2017-01-24 08:23:52 -05:00
gorhill
50800427b3 generic code review related to the new 3rd-party filter pane 2017-01-23 09:35:05 -05:00
gorhill
af05f11c2a taking advice from https://discourse.mozilla-community.org/t/support-ublock-origin/6746/210 2017-01-23 00:30:11 -05:00
gorhill
9309df4196 3rd-party filters pane revisited 2017-01-22 16:05:16 -05:00
Raymond Hill
3b9fd49c50 Assets management refactored (#2314)
* refactoring assets management code

* finalizing refactoring of assets management

* various code review of new assets management code

* fix #2281

* fix #1961

* fix #1293

* fix #1275

* fix update scheduler timing logic

* forward compatibility (to be removed once 1.11+ is widespread)

* more codereview; give admins ability to specify own assets.json

* "assetKey" is more accurate than "path"

* fix group count update when building dom incrementally

* reorganize content (order, added URLs, etc.)

* ability to customize updater through advanced settings

* better spinner icon
2017-01-18 13:17:47 -05:00
gorhill
e9157bafb7 fix #1892, #1891 2016-08-13 16:42:58 -04:00
gorhill
288f15c258 link directly to the list of filter lists wiki page 2015-12-15 13:43:19 -05:00
gorhill
77504cb561 this fixes #951 2015-11-20 08:47:29 -05:00
gorhill
f338c28cd6 support append from cloud storage + uniformize buttons visual in dashboard 2015-08-12 12:17:39 -04:00
gorhill
abc7a526da code review 2015-08-11 18:48:52 -04:00
gorhill
690421aead sync feature (#80): draft 2015-08-11 15:29:14 -04:00
gorhill
5c53605269 this fixes #312 2015-06-10 11:30:57 -04:00
gorhill
66fab9c87e anoher important button 2015-05-28 18:32:47 -04:00
gorhill
50f047eb45 this fixes #250 2015-05-28 16:26:01 -04:00
gorhill
440b4d5485 minor change 2015-04-21 07:13:55 -04:00
gorhill
5abd287451 remove strike-through as per https://github.com/gorhill/uBlock/issues/78#issuecomment-94503857 2015-04-20 16:29:18 -04:00
gorhill
00a1b90f6b this fixes #78 2015-04-17 10:20:45 -04:00
gorhill
6724c991f5 this fixes #1058 2015-03-23 10:19:43 -04:00
gorhill
39ad1585e9 this fixes #982, #978, #965 2015-03-10 23:46:18 -04:00
Chris
30eafed70a More µ to u 2015-03-09 22:00:48 -06:00
gorhill
3544989e69 this fixes #954 2015-03-08 17:54:08 -04:00
Raymond Hill
fb1221a8a1 remove overhead of PSL for "3rd-party filters" tab 2014-11-26 15:45:36 -02:00
Deathamns
d98a8161f9 Drop js-loader, updates from gorhill/uBlock/master 2014-11-09 17:41:02 +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
5b79bf3536 Work on vendor API abstraction, and near complete Safari support 2014-11-09 17:39:12 +01:00
Renamed from 3p-filters.html (Browse further)