1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 21:00:23 +01:00

419 Commits

Author SHA1 Message Date
kkapsner
abdb95b815 Code cleanup: reduce block nesting 2019-12-29 00:18:05 +01:00
kkapsner
10413a89c3 Switch to asych/await where useful 2019-12-28 23:23:55 +01:00
kkapsner
3dc39e11a5 eslint cleanup 2019-12-24 00:32:50 +01:00
kkapsner
6fb7622fec Always use exportFunctionWithName 2019-12-13 17:34:14 +01:00
kkapsner
af1dfe755c Simplified code structure 2019-12-12 23:44:02 +01:00
kkapsner
14a4d1cdc2 Get rid of eval. 2019-12-12 00:09:53 +01:00
kkapsner
32f9ea7447 Remove code duplications and cleanup 2019-12-10 15:07:22 +01:00
kkapsner
762367a87b Added window.open protection 2019-12-02 22:57:11 +01:00
kkapsner
a181780020 Last adjustments to screen protection
Fixes #220
2019-12-02 19:17:54 +01:00
kkapsner
b7ba5c2050 Added default values for mobile 2019-12-02 19:16:32 +01:00
kkapsner
5020e0b070 Resetting the settings had undesired side effects 2019-12-02 19:13:38 +01:00
kkapsner
59ad6fc7d6 navigator.oscpu and navigator.buildID are undefined in non Gecko browsers
Fixes #411
2019-12-01 01:27:29 +01:00
kkapsner
1aff68d802 Added linting for consistent-return 2019-12-01 01:25:39 +01:00
kkapsner
aef6bd3d59 Big linting 2019-11-28 01:26:35 +01:00
kkapsner
83a8234b24 userAgent feature could not be disabled 2019-11-25 22:10:31 +01:00
kkapsner
d4ce6c4b4b Updated screen sizes. 2019-11-22 08:23:45 +01:00
kkapsner
d42a4d2372 Added screnn protection
First draft for #220
2019-11-11 23:00:39 +01:00
kkapsner
cc776b48de Improved storage of protected API features 2019-11-11 15:30:11 +01:00
kkapsner
5d6c2d9a47 Added ability to use objectGetters on faked functions. 2019-11-07 17:38:54 +01:00
kkapsner
aa7a4e1d06 Added protection for getParameter (webGL)
Fixes #329
2019-09-19 00:47:52 +02:00
kkapsner
506f062c07 Revert to correct values when whitelisted
Fixes #397
2019-09-13 00:49:34 +02:00
kkapsner
f3d1ca80f5 Remove iframe protection from whitelisted pages
Fixes #397
2019-09-11 23:57:00 +02:00
kkapsner
5a355284f3 Reevaluated logging message levels
Fixes #394
2019-09-05 01:07:05 +02:00
kkapsner
a95fae3de8 Future proof: getters my be values in other browsers
Example: window.opener is a value property in Chrome.
2019-08-16 17:34:16 +02:00
kkapsner
43b2fa8b51 Added setting presets
Fixes #376
2019-07-16 18:25:30 +02:00
kkapsner
3861b29848 Linting 2019-07-16 13:36:54 +02:00
kkapsner
7cd89dec99 Detect when browser.contextualIdentities.onRemoved is not supported
For #372
2019-06-25 08:21:34 +02:00
kkapsner
ea15fabad9 Race condition causes persistent rnd separation between containers to lea
Fixes #369
2019-06-14 10:51:26 +02:00
kkapsner
03524fd789 Added tool to clear persistent rng for a specific container
Fixes #368
2019-06-14 10:45:34 +02:00
kkapsner
895c7a36d7 Clear persistent rng data if a container is deleted
For #368
2019-06-14 10:36:49 +02:00
kkapsner
1737344480 document.write and document.writeln protection broke pages
Fixes #365
2019-06-11 23:09:13 +02:00
kkapsner
27ddc8a683 Options: made sections collapsible
For #353
2019-06-11 13:54:15 +02:00
kkapsner
c3d4a1901c Improved protection of (i)frame properties
Fixes #364
2019-06-04 08:42:31 +02:00
kkapsner
d687bc9756 Confirm messages were broken in Firefox 67
For #271
2019-05-31 01:10:13 +02:00
kkapsner
27999484c2 Server-site navigator protection did not respect whitelisting
Should fix #362
2019-05-30 12:43:47 +02:00
kkapsner
579b778062 MutationObserver failed in some instances
Fixes #354
2019-05-29 20:48:56 +02:00
kkapsner
34f8050fb7 Adjusted protection for document.write and document.writeln
Fixes #356
2019-05-29 14:22:52 +02:00
kkapsner
621106ffbf Persistent rng is no longer shared between containers
(different cookieStoreId)

Fixes #350
2019-05-29 00:37:33 +02:00
kkapsner
97e08d874a Not connected iframe threw error with persistent rng 2019-05-29 00:26:35 +02:00
kkapsner
308592e785 Protection for document.write and document.wirteln broke in Firefox 69
Fixes #357
2019-05-29 00:20:27 +02:00
kkapsner
036c7cdbd0 innerHTML setter broke pages -> 0.5.9.1 2019-05-28 23:34:27 +02:00
kkapsner
b4dbd71d11 SOP detection did not work all the time
Fixes #351
2019-05-24 21:46:34 +02:00
kkapsner
c8c311a82f Protect reopened documents. 2019-05-24 18:30:57 +02:00
kkapsner
b6e5384945 Linting 2019-05-24 18:29:45 +02:00
kkapsner
2da680bfcb Improved iFrame protection 2019-05-22 23:37:23 +02:00
kkapsner
92ff2ff5d4 Audio cache could break readout 2019-05-22 10:06:11 +02:00
kkapsner
e0dda5ec0f Detection over navigator and DOMRect getters was possible 2019-05-20 08:45:31 +02:00
kkapsner
79a9034051 Preventing double interception 2019-05-17 00:36:34 +02:00
kkapsner
587bd5bca8 DOMRect: further performance improvements
Total improvement compared to 0.5.8: 7.2 (For #253)
2019-05-11 13:16:45 +02:00
kkapsner
82ba61095a fake- and getterGenerator: added original and window in call
Might enable a performance increase.
2019-05-10 08:28:28 +02:00
kkapsner
103397e35d Minor performance improvements 2019-05-10 01:11:31 +02:00
kkapsner
a89bf0aba8 Remove all "var" from intercept.js 2019-05-10 00:45:50 +02:00
kkapsner
2222ba65c8 Only set random supply when it changes 2019-05-10 00:38:38 +02:00
kkapsner
983423dafa Improved general performance when stack list is disabled 2019-05-10 00:29:53 +02:00
kkapsner
88537c7516 Fixed broken setter on DOMRect 2019-05-09 23:11:15 +02:00
kkapsner
2c291322cf Further improved DOMRect performance
Additional factor 2.6 = total factor 4.7 (For #253).
2019-05-04 13:44:02 +02:00
kkapsner
89124235c0 Improved DOMRect performance
Factor 1.8 (For #253).
2019-05-04 12:39:31 +02:00
kkapsner
4e276edb22 Merge branch 'WhitelistAPISpecific' 2019-05-04 01:14:04 +02:00
kkapsner
b27cf7087b Added whitelist inspection
Fixes #331
2019-05-04 01:12:45 +02:00
kkapsner
6ffd537a58 Unified action pages and fixed display issues
For #341
2019-05-03 23:17:35 +02:00
kkapsner
ed5a1b03cd Merge branch 'master' into WhitelistAPISpecific 2019-05-03 00:46:08 +02:00
kkapsner
54e3f8d3f4 Improved theme system and appearance
Fixes #181 and #341
2019-05-02 23:46:20 +02:00
kkapsner
6301b744d2 Added centralized theme system and themed all pages 2019-05-02 00:30:30 +02:00
kkapsner
51445b36e0 Added whitelist scope question 2019-04-30 23:42:21 +02:00
kkapsner
403885f426 Don't break if browser API is not available 2019-04-30 23:39:40 +02:00
kkapsner
31bc324019 Added option to protect no part of the canvas API 2019-04-27 22:37:25 +02:00
kkapsner
8e628f9d13 Made history length threshold url specific 2019-04-27 22:26:23 +02:00
kkapsner
505fb6409e Run setting migration only in background script 2019-04-19 14:09:56 +02:00
kkapsner
b7a8a51a56 Made data URL protection url specific
Fixes #333
2019-04-19 13:58:04 +02:00
kkapsner
bab7d1496f Moved i18n to extension module 2019-04-09 08:29:52 +02:00
kkapsner
d89bfe4cb0 Minibug in require 2019-04-08 23:56:25 +02:00
kkapsner
7f048b80d7 Removed ".js" from require paths 2019-04-08 00:06:25 +02:00
kkapsner
12137402de Fixed relative require paths 2019-04-08 00:02:29 +02:00
kkapsner
9f3da67cf2 Removed proprietary require event system 2019-04-07 23:22:56 +02:00
kkapsner
f8f35890a1 Removed remaining sdk shortcut module 2019-04-07 23:09:02 +02:00
kkapsner
ef4e238b94 Faking audio did not work with white random generator 2019-04-05 16:26:22 +02:00
kkapsner
137c1688ba Reduced direct dependency on browser.xxx APIs 2019-03-14 16:51:20 +01:00
kkapsner
91c3c34412 Moved canvas api to separate file 2019-03-13 08:08:36 +01:00
kkapsner
574efa23e7 Cleanup require system 2019-03-12 22:24:23 +01:00
kkapsner
f565b8c32e Enabled import of older storage versions. 2019-03-11 22:10:34 +01:00
kkapsner
e56df7160f Added navigator protection 2019-02-27 23:49:00 +01:00
kkapsner
7bf1b2e595 Fix require.register 2019-02-26 15:59:44 +01:00
kkapsner
91b814ce7e Improved audio API protection
reduced detection
more consistent faking
2019-02-10 02:55:45 +01:00
kkapsner
ea30fb3370 Fixed md5 and sha256 hashing
Fixes #315.
2019-02-10 02:49:58 +01:00
kkapsner
e47f726abb Added cache for getChannelData
Fixes #310
2019-02-07 20:12:12 +01:00
kkapsner
53cdf8347e after reset the hidden settings and expanded views were not reset
Fixes #314
2019-02-07 00:44:16 +01:00
kkapsner
1bb5013a39 Protection for history.length did not work
Fixes #309
2019-02-04 13:40:44 +01:00
kkapsner
f38e55b538 Linting 2019-01-24 15:43:20 +01:00
kkapsner
b4b6fcdd13 Fix optional parameter
Fixes #302
2018-12-30 22:22:10 +01:00
kkapsner
43e2f59cba Updated storageVersion to 0.5 2018-11-09 23:38:19 +01:00
kkapsner
947d9e0c59 added "share persistent randomness between domains"
Fixes #290
2018-10-25 13:42:18 +02:00
kkapsner
045379c349 constant rng did not work properly when protecting input 2018-10-23 23:39:47 +02:00
kkapsner
8b9197a68a Decoupled block mode from protected part
Fixes #287
2018-10-23 08:26:23 +02:00
kkapsner
eff86ce4ed Added search field to browser page popup
Fixes #268
2018-10-09 12:59:53 +02:00
kkapsner
3a7c15157c Protected notification api calls
Firefox on Android does not support all of them.

Fixes #276
2018-10-02 19:23:59 +02:00
kkapsner
d4d0d80721 Linting 2018-10-02 13:27:01 +02:00
kkapsner
f3a6031f5a Handle wrong content script order
For #273
2018-10-02 13:20:40 +02:00
kkapsner
0f07cde869 Added value cache for DOMRect
Fixes #272
2018-09-29 09:41:43 +02:00
kkapsner
18bbab50a5 Removed unused setting notificationDisplayTime 2018-09-23 12:40:05 +02:00
kkapsner
5ca27505eb Messages were not passed to tabs. 2018-09-23 12:33:23 +02:00