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

256 Commits

Author SHA1 Message Date
kkapsner
db79c0129b Audio API notifies on every call 2018-09-16 12:09:48 +02:00
kkapsner
ee7f9b4dae Separated setting containers
For #166
2018-09-16 01:22:40 +02:00
kkapsner
57ef8a4166 Simplified relation logging <-> settings
For #166
2018-09-15 21:13:25 +02:00
kkapsner
9d5e8b71ed Separated settings migration
For #166
2018-09-14 16:29:30 +02:00
kkapsner
456c21cb04 Ignore port connection without tab
Fixes #255
2018-09-13 22:50:10 +02:00
kkapsner
b0e1e69ec9 Do not pass messages to internal tabs
E.g. about:addons
Otherwise this causes an error.
2018-09-13 18:40:18 +02:00
kkapsner
f73a4ee619 Save state of the arrow menu in options page
Fixes #251
2018-09-12 23:43:48 +02:00
kkapsner
fe1f1ec79a Fixed caching issue
md5 was too slow.

Fixes #236
2018-09-12 22:23:29 +02:00
kkapsner
f05717836d canvas content was not stored to be displayed when wanted 2018-09-11 23:56:44 +02:00
kkapsner
5e5011f208 Added setting to controll to save notification details
Fixes #236
2018-09-11 23:54:59 +02:00
kkapsner
0133af70f5 Add proper DOMRect ask texts.
For #236
2018-09-09 00:16:44 +02:00
kkapsner
1eacfe7dc5 Ignoring DOMRect did not work.
For #236.
2018-09-09 00:15:47 +02:00
kkapsner
4c2fea8a90 Don't store ignored notifications.
For #236
2018-09-09 00:15:21 +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
d3d137beed Fixed accidental blocking
See #243
2018-09-06 17:30:44 +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
e0729480fb Fix dataUrls.js 2018-09-06 08:38:22 +02:00
kkapsner
360c4628ce Corrected domain recognition
Domains with hyphens were treates like RegExps.

Fixes #244.
2018-09-06 08:34:08 +02:00
kkapsner
fb31545604 Removed debugging statement 2018-09-05 17:02:36 +02:00
kkapsner
a01ccf458f Corrected type and api on DOMRect changed functions 2018-09-05 16:47:32 +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
bde8ac3e8e Only use onHeadersReceived listener when necessary
As mentioned in #214
2018-08-28 21:09:03 +02:00
kkapsner
83efac5e49 Added protection for window.name and window.opener
As requested by #231.

But this protection is disabled by default.
2018-08-27 00:33:39 +02:00
kkapsner
fd7c4fabbd Added protection for history.length
As requested by #231.
2018-08-27 00:30:48 +02:00
kkapsner
4c7b83aca6 Added support to fake getters. 2018-08-27 00:23:19 +02:00
kkapsner
da14aaff51 Added option to ignore APIs
As mentioned in #233
2018-08-24 19:39:34 +02:00
kkapsner
391deae6f1 Improved browser action title
As mentioned in #233.
2018-08-22 22:37:06 +02:00
kkapsner
4a043b2c78 Typos and linting 2018-08-22 22:16:49 +02:00
kkapsner
f873bd84e5 protectAudio should be url specific 2018-08-22 14:41:48 +02:00
kkapsner
bfb959c290 Added badge
First draft for #233.
2018-08-21 22:43:41 +02:00
kkapsner
c0563cd7d5 Theme settings
For #232
2018-08-21 22:03:16 +02:00
kkapsner
9d231c7b02 CSP cleanup
Should help with #223.
2018-08-21 22:01:10 +02:00
kkapsner
c25e95f845 Added highlighting options for notification icons
Fixes #225.
2018-08-20 21:48:05 +02:00
kkapsner
cedd2137e2 Added option "Don't show again on update." for options page.
Fixes #227.
2018-08-19 00:13:43 +02:00
kkapsner
bf868eb6ae Missing semicolon in CSP
Fixed #224.
2018-08-02 20:56:01 +02:00
kkapsner
05a3429dbe Change browser action icon depending on fake status.
As mentioned in #217
2018-07-31 13:36:34 +02:00
kkapsner
9b18631768 separate persistent random numbers for incognito windows 2018-07-28 14:13:14 +02:00
kkapsner
7f1fe0ed1c Intercepting broken on getter.
Issue mentioned in #215
2018-07-28 13:44:21 +02:00
kkapsner
9a26baf5c1 Block blob in Firefox ESR (52) 2018-07-24 23:30:00 +02:00
kkapsner
942d74ce54 Optimized CSP 2018-07-24 21:30:57 +02:00
kkapsner
7bfd300f6a Inject CSP only in the relevant requests.
Prevents detection of CB.
2018-07-21 19:34:24 +02:00
kkapsner
8389165b70 Allow blob and filesystem schemes
They are protected and do not need to be blocked (like data-URLs).

Fixes #212 and fixes #213.
2018-07-21 13:25:15 +02:00
kkapsner
9ba9c48422 Block data URLs instead of their requests
Fixes #211
2018-07-21 00:32:15 +02:00
kkapsner
5077c86859 Added session white list
Fixes #197
2018-07-17 13:07:50 +02:00
kkapsner
9753681651 Return storage promise from settings.set(). 2018-07-17 12:54:10 +02:00
kkapsner
1f5f5bccc4 Remove all traces of the addon in the displayed calling stack. 2018-07-17 12:50:40 +02:00