1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-03 17:49:39 +02:00
Commit Graph

261 Commits

Author SHA1 Message Date
Chris
ed5891d876 Safari: storage quota and new version 2015-02-23 12:00:35 -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
gorhill
37aaeca8aa code review 2015-02-22 23:47:22 -05:00
gorhill
824c499f5c this fixes #862 2015-02-22 09:13:08 -05:00
gorhill
1a06de42e5 new revision 2015-02-19 23:45:51 -05:00
Chris
d4e85d1d70 Safari: ignore non-tab activation targets 2015-02-19 11:44:51 -07:00
Chris
0a604f8cc7 Safari code review 2015-02-18 21:40:34 -07:00
Chris
f5c807f2ea Safari: better and more reliable setIcon structuring 2015-02-18 21:38:17 -07:00
Chris
1a55ecfbcd Safari: off/disabled version of toolbar icon
Toolbar icon now dims when on a whitelisted website
2015-02-18 16:55:36 -07:00
Deathamns
f20372cf73 Remove unused code 2015-02-17 22:05:23 +01:00
gorhill
9669793066 interim version for dev releases 2015-02-16 11:23:16 -05:00
gorhill
eaf9955a7b new version 2015-02-16 07:57:43 -05:00
gorhill
d58004f91a misunderstanding 2015-02-16 06:21:43 -05:00
gorhill
70488274b1 as per comment, this should work well enough 2015-02-15 23:05:50 -05:00
gorhill
81638853bf new revision 2015-02-15 19:00:04 -05:00
Deathamns
3150c286cf Firefox: match Chrome's behavior with frame ids 2015-02-15 19:25:11 +01:00
gorhill
a926eb7ead vAPI not available in here 2015-02-15 12:34:19 -05:00
gorhill
aa01233cfc support for fennec 2015-02-15 12:23:59 -05:00
gorhill
da54ae5726 #795: code review as per @Deathamns feedback 2015-02-15 11:16:48 -05:00
gorhill
ac7a7201cb oops, revert back version, it was just for locally testing 2015-02-15 09:06:16 -05:00
gorhill
42dcfa88b8 this has been unrequired since a while 2015-02-15 09:04:56 -05:00
gorhill
551308455c this fixes #795 2015-02-15 08:12:56 -05:00
gorhill
5ab41b67a9 existing features enhancement = +0.0.1.0 2015-02-15 07:23:23 -05: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
gorhill
71ba590b17 new interim version 2015-02-12 19:25:19 -05: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
gorhill
be7b7679f3 #685: code review 2015-02-12 12:25:54 -05:00
gorhill
65cb46c845 #685: code review 2015-02-12 12:25:19 -05:00
Deathamns
bc7434cf5c Chrome: bypass options_ui 2015-02-12 18:15:07 +01:00
gorhill
273dcd763f this fixes #730 2015-02-12 09:24:45 -05: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
gorhill
ba2962bad6 opera-specific package 2015-02-09 15:23:27 -05:00
gorhill
2146721275 manifest file for Opera 2015-02-08 23:27:43 -05:00
Chris
bb9e590cb0 Safari: fix privileged/non-priveleged messaging 2015-02-06 18:41:13 -07:00
gorhill
863aaa5401 this fixes #685 2015-02-06 10:30:22 -05: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
684dd00e1a Fix version typo 2015-02-05 17:34:53 -07:00
gorhill
7fe1ae611e new revision 2015-02-05 19:29:53 -05: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
Deathamns
c381183570 Firefox: remove unused arguments 2015-02-05 18:05:41 +01: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
gorhill
bbb2d8d1ff move profiling code to platform-specific 2015-02-03 18:40:56 -05:00
Deathamns
43c8d86769 Firefox: fix extension restarting 2015-02-02 11:52:40 +01:00
Chris
2465d28a17 Safari: avoid closures for messaging API 2015-02-01 14:57:25 -07:00
gorhill
77044c6c98 link to relevant jsperf 2015-02-01 12:25:14 -05:00
gorhill
5d0b110aec use static function instead of closure 2015-02-01 10:15:35 -05:00
gorhill
628382bf8a avoid closures when processing messages 2015-02-01 09:03:43 -05: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
Deathamns
21b42304fe Firefox: get the version number from the fragment 2015-01-29 14:12:21 +01:00
Chris
acf434f691 Fixes YouTube/ClickToPlugin #615 (*cough* again *cough*) 2015-01-28 13:45:08 -07:00
Deathamns
ee5a023e03 Firefox: don't close popups after user interaction 2015-01-28 21:08:24 +01:00
gorhill
50e621d4ee reality 2015-01-28 12:59:37 -05:00
Chris
a44eac8625 Merge branch 'master' of github.com:gorhill/uBlock 2015-01-27 22:44:29 -07:00
Chris
5a4f1b57cc Safari fixes and code reformatting 2015-01-27 22:39:55 -07:00
Deathamns
a8b33a4a45 Doesn't work 2015-01-27 22:05:01 +01:00
Chris
a51a2666a9 Merge branch 'master' of github.com:gorhill/uBlock 2015-01-27 12:36:39 -07:00
Chris
b600ded89f Fix YouTube patch 2015-01-27 12:36:19 -07:00
Deathamns
9030bc6e53 Firefox: use correct data for parentFrameId 2015-01-27 17:56:04 +01:00
Deathamns
9bd31f1362 Firefox: each frame should have a unique ID 2015-01-27 16:37:02 +01:00
Deathamns
f9109d7460 Firefox: remove evalInSandbox
Probably we won't eval plain text code, which makes it unnecessary, also
this way the validator on AMO won't complain about it.
2015-01-27 13:31:17 +01:00
Deathamns
7f877e64a3 Firefox: add localized descriptions to install.rdf 2015-01-27 12:44:35 +01:00
Deathamns
d24263aa17 Firefox: vAPI.tabs.onNavigation() for about: pages 2015-01-27 11:13:33 +01:00
Deathamns
4a21d49313 Update frameModule.js 2015-01-26 20:38:22 +01:00
Deathamns
263b756764 Firefox: behind-the-scene requests / non-http tabs 2015-01-26 20:26:45 +01: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
1a5a42238e do not rely on core to do the transposition 2015-01-23 13:09:26 -05:00
gorhill
673b8774be this fixes #582 2015-01-23 11:32:49 -05:00
gorhill
4b2dced6f4 Merge branch 'master' of github.com:gorhill/uBlock into fix-475 2015-01-21 12:25:12 -05:00
Deathamns
631da229f5 Firefox: initialize when hiddenDOMWindow is ready
Probably not the best way to detect its readiness, but it works for now.
This fix should solve the incompatibility with the StartupMaster add-on.
2015-01-21 18:15:55 +01:00
gorhill
7b8392ca48 more fixes for #105 2015-01-21 11:13:32 -05:00
gorhill
4f2bd14ce6 code review 2015-01-21 09:25:12 -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
fdaec4b421 new version 2015-01-19 20:30:27 -05: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
df69e22bb9 fixed bad test 2015-01-17 15:52:36 -05:00