kkapsner / CanvasBlocker

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

Enable/Disable/Whitelist Not Working #718

Open smashedr opened 1 month ago

smashedr commented 1 month ago

This extension is preventing Grafana from loading even when toggling the extension off for the site, verifying it is in the whitelist, and all whitelist boxes, including All APIs, are checked.

Expected Behaviour

I would expect Grafana to load after disabling the extension for that site.

Current Behaviour

This error is throw in the console and the site fails to load: Uncaught TypeError: `target` argument of Reflect.getPrototypeOf must be an object, got null

Possible Solution

The only solution is to disable the extension in the addon manager.

Steps to Reproduce (for bugs)

  1. Install the addon
  2. Attempt to load Grafana
  3. Disable the addon for the site
  4. Refresh the page

Context

Makes the addon unusable since it must be completely disabled to load Grafana.

Your Environment

os Windows 10 applicationName Firefox architecture x86-64 buildId 20240725162350 version 128.0.3 vendor Mozilla xpcomAbi x86_64-msvc

Your Settings

{
    "logLevel": 1,
    "urlSettings": [
        {
            "url": "redacted",
            "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": 0,
    "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": "0",
    "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": false,
    "displayDescriptions": false,
    "theme": "auto",
    "showPresetsOnInstallation": true,
    "dontShowOptionsOnUpdate": false,
    "disruptSessionOnUpdate": false,
    "updatePending": false,
    "isStillDefault": false,
    "storageVersion": 1
}
spodermenpls commented 1 month ago

Yes, it is a known regression that affects Grafana and other sites (#705 #707 #709 #715). @kkapsner already started working on it, but unfortunately wasn't able to publish a fixed version yet.

snpaul22 commented 1 month ago

Following for the same issue