1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-14 06:32:33 +01:00
Commit Graph

14 Commits

Author SHA1 Message Date
Chris
9a75572d8c Minor vapi-common improvement -- cache vAPI in local scope 2015-02-10 14:50:44 -07:00
Chris
c255f02f0f Way simplify vAPI closePopup for Safari 2015-01-13 13:55:52 -07:00
Deathamns
b4ea545412 Implement vAPI.insertHTML
The purpose of this API is basically to satisfy AMO reviewers in the
future, since the use of innerHTML with variables (i.e., not plain text) will
be rejected without any questions.

Since this is not a problem for browsers other than Firefox, they will
use simple innerHTML assignment, however safe-parsing could be implemented
for them too.
2015-01-13 07:30:07 +01:00
Deathamns
e0f214961d Miscellaneous changes 2015-01-13 07:30:04 +01:00
Deathamns
5e55ba772d Code styling 2015-01-13 07:29:49 +01:00
Deathamns
b301ac031e Popup related changes 2015-01-13 07:29:44 +01:00
Deathamns
720794357c Safari: get appinfo from tooltip 2015-01-13 07:29:41 +01:00
Deathamns
ecdee65fda Add license headers, plus some code styling 2015-01-13 07:29:16 +01:00
Chris
e287e4643f Fix Safari i18n function (default to '' if no localized string found) 2015-01-11 20:37:49 -07:00
Chris
0bd245803f Abstract out platform-specific popup UI JavaScript 2015-01-11 19:07:25 -07:00
Chris
0d03499858 Better Safari popover sizing, no mutation events 2015-01-11 18:06:29 -07:00
Deathamns
326ed213b0 Safari: fix tooltips for dynamic filtering 2014-12-08 09:40:26 +01:00
Deathamns
25cf80838b Safari: small locale improvements
Since there is no API for localization in Safari, we read the locale files
every time when an extension page opens.
This commit adds a new file "make-locale-safari.py", which will make the
size of the locale files smaller.
2014-12-08 08:15:08 +01:00
Deathamns
c0e11d8182 Safari: fix vAPI.tabs.close() + cleanup 2014-12-01 20:47:23 +01:00