Commit Graph

78 Commits

Author SHA1 Message Date
kkapsner 8dddff85cc Cleanup 2021-06-06 14:43:46 +02:00
kkapsner 211d6710f6 First proxy attempt 2021-05-26 08:19:43 +02:00
kkapsner b614b84b5f Set random supply if settings were preloaded
Fixes #544
2021-05-04 22:52:37 +02:00
kkapsner 2e91f85d8f Added offscreen canvas protection
Fixes #467
2020-06-01 14:25:47 +02:00
kkapsner f3f6df229f Undo interception in top windows
Fixes #431
2020-01-23 13:56:14 +01:00
kkapsner e2efb727b9 Always specify correct function names 2020-01-22 13:38:24 +01:00
kkapsner abdb95b815 Code cleanup: reduce block nesting 2019-12-29 00:18:05 +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 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 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 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 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 f8f35890a1 Removed remaining sdk shortcut module 2019-04-07 23:09:02 +02:00
kkapsner 137c1688ba Reduced direct dependency on browser.xxx APIs 2019-03-14 16:51:20 +01:00
kkapsner 574efa23e7 Cleanup require system 2019-03-12 22:24:23 +01:00
kkapsner 2f4fca10ab Ask mode did not show canvas canvas any more. 2018-09-21 16:42:58 +02:00
kkapsner f05717836d canvas content was not stored to be displayed when wanted 2018-09-11 23:56:44 +02:00
kkapsner 255c8e6bbf DOMRect did not work because of protectedAPIFeatures 2018-09-08 00:05:56 +02:00
kkapsner fa92c15dab Converted apiWhiteList to protectedAPIFeatures
For #247
2018-09-07 23:52:29 +02:00
kkapsner bda97dbc38 Merge branch 'master' into DOMRect 2018-09-06 17:27:52 +02:00
kkapsner aa8b202545 Fixed bug with "block" mode
window and audio API were always blocked when using any of the "block
..." modes

Fixes #243
2018-09-06 17:24:05 +02:00
kkapsner df1d59cf52 Added support for pixel fractions
Pixel fractions can be controlled by CSS. These fractions must not be
faked.

For #236.
2018-09-05 15:53:01 +02:00
kkapsner 1d5953e8c7 Added protection from undefined properties.
DOMRect has some new properties that are only in nightly at the moment.
2018-09-05 15:50:59 +02:00
kkapsner f00c3b674e First DOMRect draft
For #236
2018-09-04 23:29:58 +02:00
kkapsner 4c7b83aca6 Added support to fake getters. 2018-08-27 00:23:19 +02:00
kkapsner 4a043b2c78 Typos and linting 2018-08-22 22:16:49 +02:00
kkapsner 7f1fe0ed1c Intercepting broken on getter.
Issue mentioned in #215
2018-07-28 13:44:21 +02:00
kkapsner 26529a3653 Hide function replacement
Fixes #206
2018-07-13 16:58:13 +02:00
kkapsner 21992121b9 Audio faking broke when using "storeImageForInspection". 2018-06-21 00:14:20 +02:00
kkapsner 0f44820e3d Used api property to display correct text in ask mode. 2018-06-21 00:13:32 +02:00
kkapsner f02246128e Added setting to whitelist parts of the canvas API 2018-05-26 15:33:39 +02:00
kkapsner 77e079e5cc Added showCanvasWhileAsking
Fixes #175
2018-01-04 13:36:18 +01:00
kkapsner 66336d1b65 prevent possible double faking 2018-01-03 10:59:56 +01:00
kkapsner 41a8112920 Added better logging to pre intercepting 2017-12-18 23:55:13 +01:00
kkapsner 22fd0e8be1 Discarded pre-intercept
It broke pinned tabs and JS in some cases.

Fixes #164.
2017-12-16 19:27:29 +01:00
kkapsner 3bbbfc4a15 Force settings loading 2017-12-15 01:00:52 +01:00
kkapsner a5f3e78292 Do not forceLoad depending on Firefox version 2017-12-15 00:48:00 +01:00
kkapsner 3fcc5774c2 Only Firefox < 57 block on pre-intercept 2017-12-13 20:15:50 +01:00
kkapsner 3e214ed967 Changed pre-intercept to block
... instead of forcing the loading of the settings with a synchonous
XHR.
2017-12-11 20:59:56 +01:00
kkapsner ce7dc1b422 Only force setting loading when necessary
May help for #160.
2017-12-04 00:26:26 +01:00
kkapsner 2bc0315c5b Added "white" rng 2017-11-24 17:06:43 +01:00
kkapsner f75189f374 Added ask deny mode
Fixes #142 and some minor bugs.
2017-11-09 00:53:52 +01:00
kkapsner 2193313980 Centralized settings management 2017-11-07 00:36:44 +01:00