kkapsner / CanvasBlocker

A Firefox extension to protect from being fingerprinted.
https://canvasblocker.kkapsner.de
Mozilla Public License 2.0
1.17k stars 87 forks source link

Disable on a page doesn't effect the website #707

Open andreapx opened 7 months ago

andreapx commented 7 months ago

Description

I have a problem with Grafana (hosted in LAN): until yesterday the Grafana webpage was working without a problem, now it trows an error. If I completely disable CanvasBlocker addon, Grafana starts to work, but it I enable CanvasBlocker and disable it in the Grafana website, the page won't load.

Expected Behaviour

A complete shut off if I disable it in a single website

Current Behaviour

CanvasBlocker still does something when disabled on a single website

Steps to Reproduce (for bugs)

  1. create a fresh Firefox profile
  2. Install CanvasBLocker
  3. open Grafana webpage (hosted in LAN)
  4. see the meggase: "If you're seeing this Grafana has failed to load its application files "

Your Environment

Your Settings

 {
    "logLevel": 1,
    "urlSettings": [
        {
            "url": "172.20.0.14",
            "blockMode": "allowEverything",
            "blockDataURLs": false
        }
    ],
    "hiddenSettings": {},
    "expandStatus": {},
    "displayHiddenSettings": false,
    "whiteList": "",
    "sessionWhiteList": "",
    "blackList": "",
    "blockMode": "fake",
    "protectedCanvasPart": "readout",
    "minFakeSize": 1,
    "maxFakeSize": 0,
    "rng": "nonPersistent",
    "protectedAPIFeatures": {},
    "useCanvasCache": true,
    "ignoreFrequentColors": 0,
    "minColors": 0,
    "fakeAlphaChannel": false,
    "webGLVendor": "",
    "webGLRenderer": "",
    "webGLUnmaskedVendor": "",
    "webGLUnmaskedRenderer": "",
    "persistentRndStorage": "",
    "persistentIncognitoRndStorage": "",
    "storePersistentRnd": false,
    "persistentRndClearIntervalValue": 0,
    "persistentRndClearIntervalUnit": "days",
    "lastPersistentRndClearing": 1713514203754,
    "sharePersistentRndBetweenDomains": false,
    "askOnlyOnce": "individual",
    "askDenyMode": "block",
    "showCanvasWhileAsking": true,
    "showNotifications": true,
    "highlightPageAction": "none",
    "highlightBrowserAction": "color",
    "displayBadge": true,
    "storeNotificationData": false,
    "storeImageForInspection": false,
    "ignoreList": "",
    "ignoredAPIs": {},
    "showCallingFile": false,
    "showCompleteCallingStack": false,
    "enableStackList": false,
    "stackList": "",
    "protectAudio": true,
    "audioFakeRate": "100",
    "audioNoiseLevel": "minimal",
    "useAudioCache": true,
    "audioUseFixedIndices": true,
    "audioFixedIndices": "22",
    "historyLengthThreshold": 2,
    "protectWindow": false,
    "allowWindowNameInFrames": false,
    "protectDOMRect": true,
    "domRectIntegerFactor": 4,
    "protectSVG": true,
    "protectTextMetrics": true,
    "blockDataURLs": true,
    "protectNavigator": false,
    "navigatorDetails": {},
    "protectScreen": true,
    "screenSize": "",
    "fakeMinimalScreenSize": true,
    "displayAdvancedSettings": true,
    "displayDescriptions": false,
    "theme": "auto",
    "showPresetsOnInstallation": true,
    "dontShowOptionsOnUpdate": false,
    "disruptSessionOnUpdate": false,
    "updatePending": false,
    "isStillDefault": false,
    "storageVersion": 1
}
spodermenpls commented 7 months ago

@andreapx This is a known regression (https://github.com/kkapsner/CanvasBlocker/issues/705) of the latest CanvasBlocker update, it will be fixed in the next version. In the meantime you can switch to the latest beta version (self-hosted on https://canvasblocker.kkapsner.de/versions/?C=M;O=D), where the fix(es) are already included, just make sure to disable the "regular" CanvasBlocker when the beta version is enabled.

andreapx commented 7 months ago

@spodermenpls thanks for your kind reply! When will the new update be released (about)?

spodermenpls commented 7 months ago

@andreapx That depends mostly on the speed of the manual code review done by Mozilla, since CanvasBlocker is one of its "recommended addons" and has to jump through that hoop, before it is publicly available. But as I've said, the beta version including the fix is already there, it just needs a few clicks to install it.

kot0dama commented 7 months ago

Thanks for the bug report, I was about to file a similar one while investigating my own Grafana issues :) And also, thanks for the great extension, keep up the good work !

andreapx commented 7 months ago

@spodermenpls I've installed the latest beta (1.10.1), but the problem persist, I've disabled Canvas blocker in a single website (Grafana), but I still have the problem. If I completely disable it, Grafana works.

spodermenpls commented 7 months ago

@andreapx The latest beta is named 1.11 (https://canvasblocker.kkapsner.de/versions/?C=M;O=D), 1.10.1 is the old and faulty release version. Over at #705, two people reported that the changes in the beta version fixed the Grafana issue, so I'd be surprised if it really doesn't work in your case.

andreapx commented 6 months ago

@andreapx The latest beta is named 1.11 (https://canvasblocker.kkapsner.de/versions/?C=M;O=D), 1.10.1 is the old and faulty release version. Over at #705, two people reported that the changes in the beta version fixed the Grafana issue, so I'd be surprised if it really doesn't work in your case.

@spodermenpls I'm on V 1.11.20240417 but I still have the problem... :(

spodermenpls commented 6 months ago

@andreapx That's unfortunate, I guess there's still some work to do for @kkapsner .

rrrnld commented 6 months ago

Not sure if this helps, but I lost the whitelist when installing the beta. I did not recreate it, but during the setup screen I applied the convenience settings and the reCAPTCHA fix, and Grafana is working fine again for me.

spodermenpls commented 6 months ago

@heyarne What do you mean by "losing the whitelist", I guess the fact that the Beta version is installed from scratch, and doesn't contain/import any of the settings made by a user inside the normal release version?

@andreapx Does Grafana work with the Beta version, when you use the same settings as you have with the release version, in particular with the custom reCAPTCHA setting? You can use the "save" and "load" feature at the bottom of the settings panel, to export and import the settings between "release" CB and "beta" CB very quickly.

smurfix commented 3 months ago

The current beta fixes my Grafana problem. Whew.

Any idea what the hold-up is? 3+ months for a regression fix is kindof uncomfortably long.