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
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
Deathamns
48134d9469
Firefox: minimal effort to support older versions
2015-01-16 11:42:34 +01:00
Deathamns
f6e996c25a
Firefox: suppress some "unsafe CPOW usage" message
2015-01-16 09:01:40 +01:00
gorhill
dd0137cc70
new revision
2015-01-15 10:38:12 -05:00
Deathamns
32c7bf854b
Firefox: fix tab closing issue (pop-up blocking)
2015-01-15 15:58:14 +01:00
gorhill
97b5ad9ad5
removed unused code for the time being
2015-01-15 08:41:30 -05: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
119a98026c
code review re #498
2015-01-14 19:43:10 -05:00
gorhill
ee01803419
this fixes one part of #498
2015-01-14 17:45:55 -05:00
Deathamns
511b700517
Firefox: lower popup resize delay
2015-01-14 19:13:27 +01:00
Chris
c255f02f0f
Way simplify vAPI closePopup for Safari
2015-01-13 13:55:52 -07:00
Deathamns
7bf0113db9
Firefox: fix tooltip animation
2015-01-13 21:33:26 +01:00
Deathamns
bcc1c0da11
Fix prorblems caused by vAPI.insertHTML
2015-01-13 20:25:10 +01:00
gorhill
31e2b1ac03
Merge branch 'master' of github.com:gorhill/uBlock
2015-01-13 11:55:02 -05:00
gorhill
b436f8e829
this fixes #490
2015-01-13 11:54:54 -05:00
Deathamns
7d2fe49eb0
Fix popup tooltips and sizing for Firefox
2015-01-13 17:20:16 +01: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
3522f0414d
Firefox: remove unloading from vAPI
2015-01-13 07:30:05 +01:00
Deathamns
e0f214961d
Miscellaneous changes
2015-01-13 07:30:04 +01:00
Deathamns
a71c967613
Firefox: fixed content scripts?
2015-01-13 07:30:03 +01:00
Deathamns
687d226ce9
Firefox: improvements for content scripts
2015-01-13 07:30:01 +01:00
Deathamns
d0de3d0d72
Firefox,Safari: implement vAPI.tabs.reload
2015-01-13 07:30:00 +01:00
Deathamns
a31c30d55e
Firefox: simplify vAPI.app.restart
2015-01-13 07:29:59 +01:00
Deathamns
41ac8ad39f
Firefox: workaround for the e10s crash
2015-01-13 07:29:57 +01:00
Deathamns
8a9165daa2
Firefox: blocking improvements / other fixes
...
- Implement pop-up blocking
- Support blocking redirected requests
- Fix Local mirroring and inline-script blocking
- Block content on data: and about:blank pages
2015-01-13 07:29:56 +01:00
Deathamns
05bcc070a9
Firefox: popup size for menu-panel
2015-01-13 07:29:54 +01:00
Deathamns
f0ad21fcf5
Safari: code styling
2015-01-13 07:29:53 +01:00
Deathamns
a8e02d4dfa
Firefox: fix copy-paste memory leak
2015-01-13 07:29:51 +01:00
Deathamns
fbd2f74eb5
Firefox: implement vAPI.app.restart
2015-01-13 07:29:50 +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
dbfacad8a6
Firefox: new method for request handling
...
Now both nsIContentPolicy and on-http-* observers are used for net request
monitoring.
Reasons:
- In many cases, nsIContentPolicy.shouldLoad is invoked twice for the same
resource, because of the speculative parsing.
- nsIContentPolicy.shouldLoad don't have information about the channel,
so it can't redirect the request, nor change its headers, however
on-http-opening-request can.
Also, local mirroring and inline-script blocking has been implemented.
2015-01-13 07:29:43 +01:00
Deathamns
720794357c
Safari: get appinfo from tooltip
2015-01-13 07:29:41 +01:00
Deathamns
7815455aca
Fix build scipts' shebang, let -> const
2015-01-13 07:29:40 +01:00
Deathamns
7ade0ec7e8
Firefox: better way to get the messageManager
2015-01-13 07:29:39 +01:00
Deathamns
5c2af95c73
Firefox: proper cleanup for context-menu item
2015-01-13 07:29:37 +01:00
Deathamns
d4b2b81ae8
Firefox: move callback to last call
2015-01-13 07:29:36 +01:00
Deathamns
1bb074211c
Firefox: saved prefs were overwritten by defaults
2015-01-13 07:29:34 +01:00
Deathamns
16a7bcb3d8
Firefox: add missing vAPI.onLoadAllCompleted
2015-01-13 07:29:33 +01:00
Deathamns
8a19f32373
Remove duplicate 'use strict';
2015-01-13 07:29:30 +01:00
Deathamns
85ee514ebc
Firefox: improve vAPI.tabs.getTabId
2015-01-13 07:29:28 +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
782f8d441d
Firefox: revert previous change
...
Initializing the extension with AddonManager takes too long (at least for
this extension).
When starting the browser, tabs loaded before the extension could, and
because of that, blocking didn't work.
It works better, if it's initialized when the window's DOM is ready.
2015-01-13 07:29:22 +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
20bd1287cf
Firefox: location.host isntead of app.cleanName
2015-01-13 07:29:19 +01:00
Deathamns
ecdee65fda
Add license headers, plus some code styling
2015-01-13 07:29:16 +01:00
Deathamns
8bb0d3276b
Firefox: minor changes
2015-01-13 07:29:15 +01:00
Deathamns
e20458a00f
Firefox: fix script injection
2015-01-13 07:29:14 +01:00
Deathamns
f74f07e092
Firefox: implement vAPI.tabs.injectScript
2015-01-13 07:29:12 +01:00