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

31 Commits

Author SHA1 Message Date
Chris
3413289646 Safari vapi-client.js minor formatting 2015-03-08 15:53:39 -06:00
Deathamns
252eb1b4dc Safari: make it work on version 5 2015-03-08 12:20:07 +01:00
Chris
91c7648212 Safari: minor scoping tweaks 2015-03-01 21:39:15 -07:00
Chris
83975124a4 Safari: XHR should explicitly fail. Fixes #878 2015-03-01 21:09:28 -07:00
Chris
58ae9f266b Safari: block programmatic image requests, more thorough XHR
Currently, this is done the same way we block XMLHttpRequests: mess
with the constructor. This was done in the most efficient way I
could think of (overhead is relatively minimal). This also
injects uBlock's blocking interceptor earlier, thusly covering
more requests that may have slipped through before.
2015-02-22 22:13:54 -07:00
Chris
29fa6cb2e8 Safari: block programmatic image requests
Currently, this is done the same way we block XMLHttpRequests: mess
with the constructor. This was done in the most efficient way I
could think of (overhead is relatively minimal).
2015-02-22 22:00:37 -07:00
Deathamns
8693ab738d vAPI.sessionId, element-picker dialog as iframe
vAPI.sessionId - random ID generated every time when a page loads.

Having the dialog in an iframe lowers the chance of interference with the
styling of the page, also avoids using innerHTML (AMO complaint).
2015-02-14 10:47:04 +01:00
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
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
fe28a9edbf Safari: fixes #741. Now only HTTP/S requests are captured 2015-02-09 18:15:52 -07:00
Chris
bb9e590cb0 Safari: fix privileged/non-priveleged messaging 2015-02-06 18:41:13 -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
5a4f1b57cc Safari fixes and code reformatting 2015-01-27 22:39:55 -07:00
Chris
16f3a205e0 Big fixes to Safari vAPI stuff 2015-01-25 00:43:39 -07:00
Chris
03668551c2 More fixes and performance improvements to Safari event handling and dispatching 2015-01-20 00:35:02 -07:00
Chris
a65b63ca85 Fix equality (change to strict) 2015-01-19 10:47:37 -07:00
Chris
11bb0e9638 Massive overhaul/fixes to core Safari event capturing 2015-01-19 01:50:10 -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
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
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
2a26448734 Safari: slightly better pop-up blocking 2014-12-01 21:09:25 +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