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

831 Commits

Author SHA1 Message Date
Raymond Hill
8be1aed04d
guard against future instances of issue fixed in #3721 2018-05-03 09:55:36 -04:00
Rob Wu
b27f23d520 Clear return value of vapi.js content script (#3721)
Upon start-up, uBlock runs all content scripts in manifest.json using
`chrome.tabs.executeScript`. When this API is used, the value of the
last expression is automatically cloned and transferred to the
callback of `chrome.tabs.executeScript`. This is convenient if needed,
and a performance burden otherwise (the latter is the case for uBlock).

There are three content scripts that need to be checked:

- vapi.js
  The last expression is often the vAPI object, and it is relatively
  expensive to clone this object. This commit sets the value of the
  last expression to `void 0` to solve this inefficiency.

- vapi-client.js
  No action needed yet; The last expression is `vAPI.shutdown.add(...)`,
  which has a void return value.

- contentscript.js
  No action needed yet; The last expression is an immediately-invoked
  function expression without return value.
2018-05-01 07:28:21 -04:00
Raymond Hill
08495c42e9
complete "debian" as a target platform 2018-04-27 11:43:35 -04:00
Raymond Hill
3923520b87
remove no longer needed platform-dependent polyfill.js 2018-04-27 08:36:38 -04:00
Raymond Hill
9baf17fa2a
patch firefox/legacy for changes in e5f2e9701d 2018-04-26 12:01:31 -04:00
Raymond Hill
e5f2e9701d
better manage platform-specific code for user-stylesheet support 2018-04-26 11:36:22 -04:00
Raymond Hill
6a0120340c
merge Firefox/webext-specific code into Chromium (see #3716) 2018-04-26 09:12:46 -04:00
Raymond Hill
50d5ab68c8
fix https://github.com/uBlockOrigin/uBlock-issues/issues/9 2018-04-22 14:50:40 -04:00
Raymond Hill
5386558e68
fix https://www.reddit.com/r/uBlockOrigin/comments/8dkvqn/116_broken_loading_custom_filters_from_my_filters/ 2018-04-21 12:34:54 -04:00
Raymond Hill
e2af7c5c55
code review: simplfy devbuild detection using webextFlavor 2018-04-14 06:09:36 -04:00
Raymond Hill
e40a66e294
code review of efcab14597: fix collected errors; replace Promises with callbacks 2018-04-12 17:32:38 -04:00
Raymond Hill
efcab14597
Squashed commit of the following:
commit ab2b328cf1360a751fa1c58b8521f907eeb1ec50
Author: Raymond Hill <rhill@raymondhill.net>
Date:   Thu Apr 12 12:08:30 2018 -0400

    fix #3588

commit c4ae7638dfa5a5c7ddec2f9dd2d2988450082542
Author: Raymond Hill <rhill@raymondhill.net>
Date:   Thu Apr 12 09:08:56 2018 -0400

    detect user stylesheets support from content scripts (#3588)
2018-04-12 12:17:38 -04:00
Raymond Hill
7ca6e8bfb3
code review: not a fan of deep indentation; detect Edge, Safari 2018-04-12 07:29:14 -04:00
Raymond Hill
c34326cf4e
code review: further tuning filter list directives 2018-04-11 06:34:13 -04:00
Raymond Hill
79b4706746
code review: avoid special WebRTC test for non-Chromium browsers (#533) 2018-04-06 13:25:06 -04:00
Raymond Hill
93f49a61d7
add pre-processor directives to filter list compiler (https://github.com/AdguardTeam/AdguardBrowserExtension/issues/917) 2018-04-05 07:29:15 -04:00
Raymond Hill
bf384e2bca
better evaluate vAPI.webextFlavor 2018-04-04 12:42:01 -04:00
Raymond Hill
fe11ff61c8
mind whitelist directives for filterable behind-the-scene requests (#3654) 2018-04-02 09:10:38 -04:00
Raymond Hill
d122b4a607
remove obsolete code 2018-03-31 10:20:44 -04:00
Raymond Hill
b7e5c9af49
make use of Chromium 63's webRequest's new initiator property 2018-03-30 15:30:53 -04:00
Raymond Hill
2c901588c7
fix #3546, #3428 2018-02-26 13:59:16 -05:00
Raymond Hill
267f769da9
new revision for dev build 2018-02-21 07:19:38 -05:00
Raymond Hill
c26d68405a
new revision for dev build 2018-02-18 07:27:32 -05:00
Raymond Hill
16a7ba8f6e
new revision for dev build 2018-02-16 16:55:52 -05:00
Raymond Hill
f98cd53cdc
new revision for dev build 2018-02-16 09:32:49 -05:00
Raymond Hill
7e68061da0
new revision fro dev build 2018-02-15 17:38:24 -05:00
Raymond Hill
e65d710f83
new revision for dev build 2018-02-15 17:28:30 -05:00
Raymond Hill
17930cc778
fix #3474, #2823 2018-02-15 17:25:38 -05:00
Raymond Hill
baf939e2a4
new revision for dev build 2018-02-12 10:28:32 -05:00
Raymond Hill
99ca4ce88a
new revision for dev build 2018-02-05 12:06:24 -05:00
Raymond Hill
d1d96ba30f
new revision for stable release 2018-02-03 12:06:52 -05:00
Raymond Hill
ae4677c0c7
new revision for release candidate 2018-02-03 09:35:29 -05:00
Raymond Hill
026286977e
new revision for release 2018-02-03 07:04:04 -05:00
Raymond Hill
fb4d412cf6
new revision for release 2018-01-31 12:32:07 -05:00
Raymond Hill
568c1d46e4
new revision for release candidate 2018-01-16 09:20:39 -05:00
Raymond Hill
f7d7657293
new revision for release candidate 2018-01-13 09:45:44 -05:00
Raymond Hill
0b684bd419
new revision for release candidate 2018-01-11 11:09:15 -05:00
Raymond Hill
36b1eac88e
fix #3425 (regression from 6cdb20df) 2018-01-10 17:59:07 -05:00
Raymond Hill
d706415890
new revision for dev build 2018-01-10 12:04:56 -05:00
Raymond Hill
6cdb20dffe
improve logger convenience following fix for #2854 2018-01-09 08:08:17 -05:00
Raymond Hill
225bab9550
new revision for dev build 2018-01-08 14:33:25 -05:00
Raymond Hill
689d18c54f
fix #2854 2018-01-08 14:29:39 -05:00
Raymond Hill
233afcdcac
new revision for dev build 2018-01-07 18:04:12 -05:00
Raymond Hill
b7155a0e0f
fix #3408 2018-01-07 17:53:33 -05:00
Raymond Hill
7684bfde53
new revision for dev build 2018-01-05 13:24:53 -05:00
Raymond Hill
fcd2124ad3
new revision for dev build 2018-01-04 18:30:23 -05:00
Raymond Hill
1c1fdde4d2
new revision for dev build 2018-01-03 14:07:57 -05:00
Raymond Hill
9049909d2d
new revision for dev build 2018-01-02 23:22:40 -05:00
Raymond Hill
fc26b5d227
new revision for dev build 2017-12-31 21:15:22 -05:00
Raymond Hill
d8d1fa5221
new revision for dev build 2017-12-31 16:06:45 -05:00
Raymond Hill
35eaf267e6
new revision for dev build 2017-12-31 08:46:58 -05:00
Raymond Hill
96576df1e4
new revision for dev build 2017-12-30 11:22:03 -05:00
Raymond Hill
93e76ecf5d
new revision for dev build 2017-12-29 20:36:31 -05:00
Raymond Hill
ff67cf5ada
new revision for dev build 2017-12-29 15:56:53 -05:00
Raymond Hill
a25166be92
new revision for dev build 2017-12-29 08:06:40 -05:00
Raymond Hill
8d4f2a2d11
new revision for dev build 2017-12-28 14:24:04 -05:00
Raymond Hill
11ccf8e2b9
new revision for dev build 2017-12-22 09:43:28 -05:00
Raymond Hill
904e550fc0
new revision for dev build 2017-12-17 08:15:24 -05:00
Raymond Hill
f753952adc
new revision for dev build 2017-12-15 10:10:09 -05:00
Raymond Hill
2ef892c086
new revision for release candidate 2017-12-14 08:26:36 -05:00
gorhill
61a259013c
new revision for release candidate 2017-12-10 15:05:11 -05:00
gorhill
59b6243633
new revision for dev build 2017-12-08 07:15:13 -05:00
gorhill
4b70553263
new revision for dev build 2017-12-07 18:58:04 -05:00
gorhill
916cc3cf78
new revision for release candidate 2017-12-05 14:47:33 -05:00
gorhill
88ce17561f
fix #3321: make uBO the bigger person and walk away from a pointless fight 2017-12-05 14:37:12 -05:00
gorhill
e7d5c836d9
new revision for release candidate 2017-12-05 08:43:17 -05:00
gorhill
4f28301736
import fix to https://github.com/gorhill/uMatrix/issues/840 2017-12-05 08:42:26 -05:00
gorhill
061444bfc6
new revision for dev build 2017-11-30 11:39:18 -05:00
gorhill
de1768025c
new revision for stable release 2017-11-29 07:20:44 -05:00
gorhill
de2ac0a4d2
new revision for release candidate 2017-11-27 14:53:03 -05:00
gorhill
0c2b715e61
new revision for dev build 2017-11-24 00:47:47 -05:00
gorhill
91de400a64
fix https://github.com/uBlockOrigin/uAssets/issues/859#issuecomment-346681469 2017-11-24 00:39:01 -05:00
gorhill
8c424c15b2
new revision for release candidate 2017-11-22 08:05:07 -05:00
gorhill
71e8983a5f
new revision for dev build 2017-11-21 18:09:43 -05:00
Kacper Michajłow
ec70c75264 improve DOM inspector (#3254)
* dom-inspector: Improvments

- Fix race between userCSS injection and element highlight resulting in none or not all elements highlighted.
- Fix page being scanned twice resulting in unneeded slowdown.

* dom-inspector: Clear mutationTimer to allow more than one update.

* dom-inspector: Fix procedural filters shown as declarative with expando.
2017-11-21 18:08:32 -05:00
gorhill
1f7243ce55
new revision for dev build 2017-11-21 13:42:18 -05:00
gorhill
848ca6c351
new revision for dev build 2017-11-20 08:46:33 -05:00
gorhill
806032cdc4
improve DOM inspector
- Fix regressions reported in #3159
- Fix #2001
- Fix some item points in #407
2017-11-20 08:42:32 -05:00
gorhill
7e69a75fe8
new revision for dev build 2017-11-16 11:02:54 -05:00
gorhill
387eaa0b21
fix #3185 2017-11-16 10:55:28 -05:00
gorhill
8646b78306
new revision for dev build 2017-11-15 16:35:00 -05:00
gorhill
11cba7b1a7
new revision for dev build 2017-11-14 15:09:28 -05:00
gorhill
374e157b11
fix #3159 2017-11-14 15:03:20 -05:00
gorhill
9c23e4ab67
adjust minimum version to account for usage of Array.from 2017-11-14 08:44:59 -05:00
gorhill
fdad94f98b
new revision for dev build 2017-11-13 09:06:32 -05:00
gorhill
77334bf380
new revision for dev build 2017-11-11 08:03:15 -05:00
gorhill
9e60432860
new revision for dev build 2017-11-10 08:02:36 -05:00
gorhill
f7bfcff37a
new revision for dev build 2017-11-09 13:01:35 -05:00
gorhill
8b2c6a6280
new revision for dev build of next iteration 2017-11-05 12:34:58 -05:00
gorhill
6cecd2192e
new revision for dev build 2017-10-31 07:38:54 -04:00
gorhill
7accd6dda9
new revision for dev build 2017-10-29 16:59:22 -04:00
gorhill
f639eb9dd7
new revision for dev build 2017-10-28 09:09:56 -04:00
gorhill
bbda2a9086
code review: preemptively address https://bugzilla.mozilla.org/show_bug.cgi?id=1408996#c9 2017-10-27 14:22:45 -04:00
gorhill
198f72a912
new revision for dev build 2017-10-26 10:12:09 -04:00
gorhill
8624ba40d5
new revision for dev build 2017-10-25 11:54:54 -04:00
gorhill
2d5e3f38f3
code review: use Map instead of Object 2017-10-25 11:27:16 -04:00
gorhill
2274760275
new revision for dev build 2017-10-24 16:49:18 -04:00
gorhill
23487a643a
prepend vapi-usercss.js to contentscript.js in extension package 2017-10-24 12:40:58 -04:00
gorhill
ed5dba432a
fix https://discourse.mozilla.org/t/support-ublock-origin/6746/606 2017-10-24 09:09:10 -04:00
gorhill
c7fa91ffb6
new revision for dev build 2017-10-24 07:56:18 -04:00
gorhill
50f3369351
new revision for dev build 2017-10-23 12:54:43 -04:00
gorhill
a76f5b15ac
fix https://github.com/gorhill/uBlock/issues/3160#issuecomment-338509997 2017-10-23 12:21:37 -04:00
gorhill
6e18829f02
add to #2984: fix regressions, as per feedback and code review 2017-10-23 09:01:00 -04:00
gorhill
ef84e6d8fd
fix https://github.com/gorhill/uBlock/issues/2984#issuecomment-338475886 2017-10-22 12:48:13 -04:00
gorhill
4f7aab695c
fix #3160 2017-10-22 08:59:29 -04:00
gorhill
6112a68faf
fix #2984 2017-10-21 13:43:46 -04:00
gorhill
39cceec1ed
new revision for dev build 2017-10-19 09:41:40 -04:00
gorhill
392fef1828
new revision for dev build 2017-10-18 15:16:42 -04:00
gorhill
eb7bdba47f
fix #3140 2017-10-18 15:00:22 -04:00
gorhill
b89dbcce39
new revision for release candidate 2017-10-18 08:45:23 -04:00
gorhill
69241fb3db
new revision for dev build 2017-10-13 09:53:33 -04:00
gorhill
13e643098f
new revision for dev build 2017-10-12 07:57:00 -04:00
gorhill
8c33720d16
fix #3111 2017-10-08 23:47:23 -04:00
gorhill
3d0cdc38b9
new version for stable release 2017-10-08 09:17:50 -04:00
gorhill
6f21d8eef0
new revision for release candidate 2017-10-06 13:49:09 -04:00
gorhill
0c9099fdb6
new revision for release candidate 2017-10-06 13:36:53 -04:00
gorhill
746eb07db3
new revision for release candidate 2017-10-04 13:27:48 -04:00
gorhill
344c1f9656
new revision for dev build 2017-10-04 11:16:28 -04:00
gorhill
a19efa4ebe
fix #3082 (use "dev build" in extension name) 2017-10-01 10:28:33 -04:00
gorhill
e2cbc5c964
new revision for release candidate 2017-10-01 08:01:06 -04:00
gorhill
4ffaf3dd46
new revision for release candidate 2017-09-30 10:45:32 -04:00
gorhill
b3e4caa59f
code review of #3073 2017-09-30 08:07:10 -04:00
gorhill
526ffe214d
fix #3073 2017-09-30 07:56:35 -04:00
gorhill
ea0c5140ca
new revision for release candidate 2017-09-29 12:50:02 -04:00
gorhill
4865561ca4
code review re. #3006 2017-09-29 08:49:22 -04:00
gorhill
f716760689
new revision for release candidate 2017-09-28 12:57:51 -04:00
gorhill
23a97cef6f
new revision for release candidate 2017-09-27 15:40:00 -04:00
gorhill
a4e61b51cd
further fix #3006: see https://github.com/gorhill/uBlock/issues/3006#issuecomment-332597677 2017-09-27 15:29:57 -04:00
gorhill
bbac9dc2bb
new revision for release candidate 2017-09-27 10:28:17 -04:00
gorhill
ab1e5d350e
new revision for release candidate 2017-09-27 08:43:03 -04:00
gorhill
f10fb29714
fine tune fix #3006 2017-09-27 08:42:27 -04:00
gorhill
d6173b5d93
better fix #3057, as suggested 2017-09-26 16:35:06 -04:00
gorhill
65f1d152f7
new revision for release candidate 2017-09-26 16:10:34 -04:00
gorhill
c74526a895
fix #3057 2017-09-26 16:09:35 -04:00
gorhill
0e0d79554a
new revision for release candidate 2017-09-26 07:59:51 -04:00
gorhill
b2094f1412
new revision for release candidate 2017-09-21 11:49:08 -04:00
gorhill
0f4f44f364
new revision for dev build 2017-09-19 23:33:15 -04:00
gorhill
83a791f4d1
new revision for dev build 2017-09-19 12:58:50 -04:00
gorhill
46f37dd7c2
new revision for dev build 2017-09-18 10:56:54 -04:00
gorhill
b1f04c79b0
code review: cleaner user-stylesheets support as proposed in https://issues.adblockplus.org/ticket/5695 2017-09-16 10:55:28 -04:00
gorhill
eceab1c23f
new revision for dev build 2017-09-16 10:29:49 -04:00
gorhill
3b67516aee
new revision for dev build 2017-09-13 13:56:41 -04:00
gorhill
3e6d365cb1
new revision for dev build 2017-09-11 17:11:31 -04:00
gorhill
0d18d996be
fix #3006 2017-09-11 17:02:44 -04:00
gorhill
fa9aa68da3
new revision for dev build 2017-09-05 19:53:57 -04:00
gorhill
1a3df881d0
code review: handle tab gone + decrease user css overhead 2017-09-05 19:51:16 -04:00
gorhill
d19780fcb5
new revision for stable release 2017-09-03 21:45:21 -04:00
gorhill
f8dac35f42
new revision for release candidate 2017-09-02 18:27:41 -04:00
gorhill
867eeebc19
fix #2957 2017-09-02 18:27:03 -04:00
gorhill
937e8a048d
new revision for stable release 2017-09-02 16:18:42 -04:00
gorhill
537df0f619
new revision for release candidate 2017-09-02 11:57:36 -04:00
gorhill
2598f48a34
new revision for release candidate 2017-09-02 08:27:43 -04:00
gorhill
a0c595d02d
fix #2950 2017-09-02 06:11:33 -04:00
gorhill
13afea5405
new revision for release build 2017-09-01 17:36:23 -04:00
gorhill
194951d3bd
new revision for dev build 2017-08-31 14:37:42 -04:00
gorhill
5cc7a3a852
new revision for dev build 2017-08-30 23:13:28 -04:00
gorhill
4d3ac0d980
new revision for emergency fix 2017-08-30 19:10:03 -04:00
gorhill
b5035b2e0b
new release: skip webext-hybrid and go pure webext 2017-08-30 11:18:55 -04:00
gorhill
17d54f6ded
new revision for release candidate 2017-08-30 09:34:12 -04:00
gorhill
b1842ddf16
new revision for dev build 2017-08-29 18:32:46 -04:00
gorhill
fe4c59ec90
new revision for release candidate 2017-08-24 18:30:55 -04:00
gorhill
592d5da490
new release 2017-08-22 23:51:02 -04:00
gorhill
f72915f5b0
new revision for release candidate 2017-08-22 08:01:52 -04:00
gorhill
c9a5b4c6ac
new revision for release candidate 2017-08-21 12:06:12 -04:00
gorhill
213c4e4de8
new revision for release candidate 2017-08-17 09:54:32 -04:00
gorhill
8e064d6b04
new revision for release candidate 2017-08-17 08:35:56 -04:00
gorhill
fdcc9515dc
fix #2029 2017-08-17 08:25:02 -04:00
gorhill
22ad39ea4d
new revision for dev build 2017-08-16 15:47:59 -04:00
gorhill
4a319d7a26
new revision for release candidate 2017-08-13 08:43:20 -04:00
gorhill
655b0e491b
no reason to hold back: release candidate 2017-08-12 14:49:50 -04:00
gorhill
92c6d0fc33
new revision for dev build 2017-08-12 14:39:48 -04:00
gorhill
0e078e536d
eliminate validation warning on AMO: avoid innerHTML 2017-08-11 14:26:15 -04:00
gorhill
78d61eba86
new revision for dev build 2017-08-10 18:36:58 -04:00
gorhill
3a1113b768
new revision for dev build 2017-08-08 13:40:00 -04:00
gorhill
c006167c65
new revision for dev build 2017-08-05 10:05:56 -04:00
gorhill
dd2d15e36b
new revision for dev build 2017-08-04 18:31:30 -04:00
gorhill
e359afdd38
new revision for dev build 2017-08-03 10:18:51 -04:00
gorhill
f84a3423ab
new revision for dev build 2017-07-26 08:12:27 -04:00
gorhill
6fb6b4ed98
fix #2824: use dummy localStorage if none available 2017-07-26 08:11:22 -04:00
gorhill
fd67c2db0e
fix warnings in browser console 2017-07-25 11:59:52 -04:00
gorhill
645c862886
always set browserAction title 2017-07-25 09:16:48 -04:00
gorhill
906cb34716
make uBO/webext functional on Firefox for Android Nightly 2017-07-24 19:25:49 -04:00
gorhill
21cafe7eb3
new revision for dev build 2017-07-24 11:37:52 -04:00
gorhill
d866e4d472
add proper handling of potentially unsupported webext APIs 2017-07-24 11:35:22 -04:00
gorhill
3de48a694d
new revision for dev build 2017-07-23 11:47:35 -04:00
gorhill
f328687663
implement user styles in webext platform 2017-07-23 11:33:39 -04:00
gorhill
b0ff5396cf
new revision for dev build 2017-07-19 09:46:23 -04:00
gorhill
ae450524cf
new revision for stable release 2017-07-18 10:27:28 -04:00
gorhill
5be2c00e2d
new revision for release candidate 2017-07-13 14:37:23 -04:00
gorhill
061bee8509
new revision for release candidate 2017-07-11 12:26:37 -04:00
gorhill
ecf7960c76
new revision for release candidate 2017-07-09 16:38:39 -04:00
gorhill
241765f5f2
new revision for release candidate 2017-07-07 11:32:27 -04:00
gorhill
b9bf155a30
new revision for release candidate 2017-07-05 11:02:22 -04:00
gorhill
6a53e6d0ac
minor code review 2017-07-04 09:33:03 -04:00
gorhill
6328a63c2b
new revision for dev build 2017-07-03 11:08:25 -04:00
gorhill
a8382e821d
work around for #2734 until fixed in Nightly 2017-07-03 09:51:34 -04:00
gorhill
07ef347734
new revision for dev build 2017-07-02 11:43:07 -04:00
gorhill
7aab05f00a
new revision 2017-06-26 10:21:38 -04:00
Raymond Hill
2bcf0b2115 new revision for dev build 2017-06-24 16:30:36 -04:00
gorhill
a10e1ca444
new revision for dev build 2017-06-23 07:02:56 -04:00