Commit Graph

40 Commits

Author SHA1 Message Date
kkapsner 03bf34d092 getImageData does not need to be faked in input mode when facing a non 2d context.
Fixes #137
2017-10-12 00:25:12 +02:00
kkapsner c5872ef5a1 Fixed broken webGl faking.
Fixes #136
2017-10-10 21:09:26 +02:00
kkapsner eb62521adc Trying to get wrappedJSObject of an wrappedJSObject is wrong...
Fixes #133 and #134.
2017-10-07 23:26:04 +02:00
kkapsner dcb878392e Simplified require and further linting. 2017-10-06 16:06:31 +02:00
kkapsner ef38abe545 Code linting. 2017-10-03 15:35:31 +02:00
kkapsner 8fc5ee45c2 getImageData also faked when using fakeInput mode. 2017-09-23 23:23:12 +02:00
kkapsner d8f6fb1ac9 Made readPixels consistent with the other faked readout functions. 2017-08-13 23:41:57 +02:00
kkapsner 73e4848ffd Added setting for alpha channel faking. 2017-08-11 16:26:24 +02:00
kkapsner 48dc965f7c Added setting for canvas cache. 2017-08-08 18:08:18 +02:00
kkapsner 1733be23f2 Added setting "ignoreFrequentColors" 2017-08-07 21:03:34 +02:00
kkapsner 921c7dbd5f Changed rng interface to use colors instead of separate channels. 2017-08-07 08:49:49 +02:00
kkapsner 5575c50a03 Added minimal fake size and respected the fake sizes in all fakeable functions. 2017-07-18 16:11:12 +02:00
kkapsner 3cefcfe702 Added method to display faked canvas content. 2017-07-08 22:40:38 +02:00
kkapsner f70380aa67 Added test page for webGL - it is also working with the webExtension. 2017-06-29 20:19:00 +02:00
kkapsner cba5680406 First working webExtesion. 2017-06-25 22:33:12 +02:00
kkapsner a9c7d97708 Prevented error when wrong object is passed to the faked functions.
Solves the fourth problem in #114.
2017-05-05 09:18:11 +02:00
kkapsner 6fdf13bd10 Prevented error when canvas has size zero
Solves the third problem in #114
2017-04-19 19:32:37 +02:00
kkapsner e55d0078d5 Modified functions need type.
Fixes #109
2017-03-03 00:55:32 +01:00
kkapsner 66536113e8 Fixed mode "fake at input". 2017-02-10 16:30:11 +01:00
kkapsner 960f3c4f36 Only alter last bit also in non persistent rng mode.
Fixes #99.
2017-01-18 08:46:45 +01:00
kkapsner 6d7a9fc22a Removed bug with faking webgl and added readPixels for webgl2.
Fixes #96 and #97.
2016-12-26 14:36:01 +01:00
kkapsner 0eeaf84826 Improved performance for getImageData. 2016-12-03 17:29:30 +01:00
kkapsner 7b7583afe0 Performance increase when canvas bigger than maxSize.
Fixes #93.
2016-12-01 20:40:28 +01:00
kkapsner c3c6c7a2e9 Fixes bug in fake function for readPixels.
Fixes #92.
2016-11-26 17:37:52 +01:00
kkapsner fc07961c6b Completely remove function monitoring for white listed sites.
Fixes #84.
2016-11-19 15:35:00 +01:00
kkapsner 82bb25d0f2 Monitoring only the necessary functions -> changes of the mode or the white/black lists only affects new loaded pages.
Fixes #84.
2016-11-13 15:09:03 +01:00
kkapsner b2823cbd8d Added internal type handling for getContext.
Fixes #86
2016-11-13 14:55:42 +01:00
kkapsner a2fa00fb98 First implementation of the fakeInput mode. (And other improvements.) 2016-10-23 22:12:12 +02:00
kkapsner 1b2c4cb487 Added preference to control rng type. 2016-08-06 19:17:36 +02:00
kkapsner 447ff54222 Made random changes constant within the same domain. 2016-05-18 08:55:21 +02:00
kkapsner 699698f529 Improved faking performance. 2016-05-14 19:12:45 +02:00
kkapsner 37fd9f7a36 Suppressed notification if maxFakeSize triggers. 2016-05-11 08:58:45 +02:00
kkapsner b8ba76300e Introduced maxFakeSize. 2016-05-10 08:01:21 +02:00
kkapsner 4465ff8435 Disabled faking in getImageData for bigger areas. 2016-04-21 23:54:48 +02:00
kkapsner 6ce7b81124 Code cleanup. 2016-02-13 12:48:22 +01:00
kkapsner 5fe5ec1d64 Added support for webgl2 (?) 2015-09-10 01:58:38 +02:00
kkapsner 0640008459 Fixed bug with webgl-canvas. 2015-09-10 01:35:49 +02:00
kkapsner 0904d8e2a6 Linted all files. 2015-09-08 11:42:32 +02:00
kkapsner c10b382c93 Version 0.2.0
Reenabled notifications
Code cleanup.
2015-09-06 15:40:34 +02:00
kkapsner 97e0c6b9cd Removed pageMod and many not needed features.
Notifications not working.
2015-09-06 12:26:50 +02:00