1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-20 09:22:42 +01:00
Commit Graph

129 Commits

Author SHA1 Message Date
Chris
d2cc20ed47 Safari: important improvements to request capturing + fix twitch.tv
twitch.tv now works out of the box in HTML5 in Safari. Make sure you
disable Flash if you don't get the HTML5 player.
2015-02-12 16:29:58 -07:00
Chris
9a75572d8c Minor vapi-common improvement -- cache vAPI in local scope 2015-02-10 14:50:44 -07:00
Chris
a17882a8cc Remove previous Safari overhead; cleanup workarounds from rest of code 2015-02-10 14:24:04 -07:00
Chris
5b16418e60 Safari: don't double inject, and cleanup stray unicode 2015-02-09 22:47:45 -07:00
Chris
6e7f26f925 Safari: just extra precaution 2015-02-09 22:25:13 -07:00
Chris
ac6211f1af Fixes #721; popover works in tabs without explicit URL 2015-02-09 19:31:21 -07:00
Chris
fe28a9edbf Safari: fixes #741. Now only HTTP/S requests are captured 2015-02-09 18:15:52 -07:00
Chris
0acb14c5a0 Safari update link and minor popup improvement 2015-02-09 18:15:52 -07:00
Chris
bb9e590cb0 Safari: fix privileged/non-priveleged messaging 2015-02-06 18:41:13 -07:00
gorhill
9a6c87d0dd Revert "µBlock logo refinement and browser icon organization"
This reverts commit e43931f075.
2015-02-06 07:56:59 -05:00
Chris
e43931f075 µBlock logo refinement and browser icon organization
This includes a new, refined µBlock logo, rendered more coherently
and consistently for different sizes and display pixel densities.
The Safari build script has been modified to bundle appropriate
resolutions. The Firefox build script was slightly changed to
adhere to the naming convention. The Chrome manifest was
modified/ammended slightly to take advantage of new renderings.
README's beginning has been modified to be nicer and more
minimal.
Other than the logo's slightly refined look and having better
resolution on different browsers and setups, this should have
no effect on the user experience or further development.
2015-02-06 04:24:25 -07:00
Chris
32da7cd1e5 Safari: performance gain via cleanup of overhead, & improves getTabId efficiency 2015-02-05 16:28:10 -07:00
Chris
c9160fa753 Safari: don't be lenient with XHR blocking 2015-02-05 14:14:20 -07:00
Chris
1de656cb4a Fix comment in Safari vAPI 2015-02-04 12:08:19 -07:00
Chris
113b7dde14 Remove Safari sitepatch stuff (closes #633) 2015-02-04 00:06:35 -07:00
Chris
2465d28a17 Safari: avoid closures for messaging API 2015-02-01 14:57:25 -07:00
Chris
30f1c9ebaf Fix Safari issue (no toolbar icon caused µBlock to break) #639 2015-01-31 21:19:59 -07:00
Chris
7fe8a8dcec Code reformatting, Safari info fix 2015-01-29 21:20:28 -07:00
Chris
acf434f691 Fixes YouTube/ClickToPlugin #615 (*cough* again *cough*) 2015-01-28 13:45:08 -07:00
Chris
5a4f1b57cc Safari fixes and code reformatting 2015-01-27 22:39:55 -07:00
Chris
b600ded89f Fix YouTube patch 2015-01-27 12:36:19 -07:00
Chris
16f3a205e0 Big fixes to Safari vAPI stuff 2015-01-25 00:43:39 -07:00
gorhill
da7398d585 this probably fixes #595 2015-01-24 17:17:44 -05:00
gorhill
8088fa08ff Merge branch 'master' of github.com:gorhill/uBlock into fix-475 2015-01-24 08:17:31 -05:00
gorhill
c3765cbc5b new version 2015-01-23 16:22:29 -05:00
gorhill
4edfae4b94 code review: jshint'ed 2015-01-21 08:59:23 -05:00
gorhill
255c68baa4 this fixes #536 2015-01-20 19:39:13 -05:00
gorhill
b8131943c9 Merge branch 'master' of github.com:gorhill/uBlock into fix-475 2015-01-20 16:53:42 -05:00
Chris
4901b11fae Doh 2015-01-20 00:44:04 -07:00
Chris
03668551c2 More fixes and performance improvements to Safari event handling and dispatching 2015-01-20 00:35:02 -07:00
gorhill
7f78ce2260 bring up to date with master 2015-01-19 18:45:00 -05:00
gorhill
759a156e24 started work on #105, #475, and possibly #510 2015-01-19 18:42:58 -05:00
Chris
a65b63ca85 Fix equality (change to strict) 2015-01-19 10:47:37 -07:00
Chris
15488d7396 Update extension info with update manifest and info to match signing cert 2015-01-19 01:55:24 -07:00
Chris
11bb0e9638 Massive overhaul/fixes to core Safari event capturing 2015-01-19 01:50:10 -07:00
gorhill
5ee417e110 new revision 2015-01-18 22:26:07 -05:00
Chris
5aafafd50d Fix set for Firefox & Safari (don't set non-own properties in for..in loop) 2015-01-18 11:50:20 -07:00
gorhill
ab99683454 new revision + fixed frame parent id 2015-01-17 18:02:45 -05:00
gorhill
a4b780acc8 new revision 2015-01-17 07:56:57 -05:00
Chris
e1b5693dd1 Installation directions restructured and Safari Update plist updated 2015-01-16 17:41:48 -07:00
gorhill
ca77c677d7 not needed 2015-01-15 08:30:38 -05:00
Deathamns
089af13e32 URL handling changes 2015-01-15 13:24:35 +01:00
gorhill
ee01803419 this fixes one part of #498 2015-01-14 17:45:55 -05: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
d0de3d0d72 Firefox,Safari: implement vAPI.tabs.reload 2015-01-13 07:30:00 +01:00
Deathamns
f0ad21fcf5 Safari: code styling 2015-01-13 07:29:53 +01:00
Deathamns
5e55ba772d Code styling 2015-01-13 07:29:49 +01:00
Deathamns
9169388849 Firefox: ownsWeak=true for observers, +minor mods 2015-01-13 07:29:47 +01:00
Deathamns
b8c943d539 Make vAPI.setIcon less Chromium specific 2015-01-13 07:29:46 +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
c45b7c75e2 Firefox: implement vAPI.contextMenu 2015-01-13 07:29:26 +01:00
Deathamns
0d28d19a4e Chrome,Safari: fix typo and quotes 2015-01-13 07:29:25 +01:00
Deathamns
e61514b9b1 Firefox,Safari: fill vAPI.app in a different way
Pass the extension data (name and version) as the fragment of the URL
for the background script, so vAPI.app can be filled without using XHR
to read the manifest files.
2015-01-13 07:29:21 +01:00
Deathamns
ecdee65fda Add license headers, plus some code styling 2015-01-13 07:29:16 +01:00
Deathamns
f74f07e092 Firefox: implement vAPI.tabs.injectScript 2015-01-13 07:29:12 +01:00
Deathamns
cb5d860725 Firefox: implement toolbar button and popup 2015-01-13 07:29:01 +01:00
Deathamns
e4329b7dfe Firefox: blocking and content scripts for e10s 2015-01-13 07:29:00 +01:00
Deathamns
0f771e94d1 Firefox: add basic blocking + some fixes 2015-01-13 07:28:59 +01:00
Deathamns
8297014700 Firefox: implement vAPI.storage via SQLite 2015-01-13 07:28:56 +01:00
Deathamns
67f18d023c Initial Firefox port (base, messaging, locales) 2015-01-13 07:28:52 +01:00
Chris
e287e4643f Fix Safari i18n function (default to '' if no localized string found) 2015-01-11 20:37:49 -07:00
Raymond Hill
3982bd6de9 Merge pull request #478 from chrisaljoudi/master
Safari: remove extra call to popup resize -- now smoother
2015-01-11 21:43:01 -05:00
Chris
1c60434977 Safari: remove extra call to popup resize -- now smoother 2015-01-11 19:37:10 -07:00
gorhill
b5d8c0ed52 standard comment header 2015-01-11 21:18:24 -05: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
gorhill
5019f241df this fixes #418; also remove last chrome API reference from portable code 2014-12-17 08:02:37 -05:00
Deathamns
857acaf2d2 Safari: auto-update *.plist files when building 2014-12-11 16:47:51 +01:00
Deathamns
8602c744c1 Safari: fetch data from Info.plist for vAPI.app 2014-12-08 15:44:13 +01: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
Raymond Hill
0e12797709 extension restart is platform-dependent 2014-12-02 14:02:17 -02:00
Deathamns
2a26448734 Safari: slightly better pop-up blocking 2014-12-01 21:09:25 +01:00
Deathamns
d93d70b4ae Safari: vAPI.tabs.close() to vAPI.tabs.remove() 2014-12-01 20:47:29 +01:00
Deathamns
f3bb101310 Safari: (semi)support vAPI.tabs.onUpdated() 2014-12-01 20:47:25 +01:00
Deathamns
c0e11d8182 Safari: fix vAPI.tabs.close() + cleanup 2014-12-01 20:47:23 +01:00