CanvasBlocker icon indicating copy to clipboard operation
CanvasBlocker copied to clipboard

Enable/Disable/Whitelist Not Working

Open smashedr opened this issue 1 year ago • 3 comments

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
}

smashedr avatar Aug 05 '24 07:08 smashedr

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.

spodermenpls avatar Aug 06 '24 10:08 spodermenpls

Following for the same issue

snpaul22 avatar Aug 09 '24 16:08 snpaul22

this issue, quite annoyingly, occurs even if canvas blocker is set to "allow everything"

solonovamax avatar Oct 08 '24 01:10 solonovamax

Close as a duplicate from #705

kkapsner avatar Dec 22 '24 03:12 kkapsner

I can confirm that the whitelist isn't working at all.

Tried individual IPs and even netmasks - nothing seems to work. The issue is certainly with CanvasBlocker as when you disable it, Grafana works fine.

knaggsy2000 avatar Jan 10 '25 23:01 knaggsy2000

The next version that solves the issue is in the verification by Mozilla. In the meantime you can use the latest beta version (make sure to disable the normal version as only one of them should run an the same time).

kkapsner avatar Jan 11 '25 16:01 kkapsner

This is great - I've been suffering through this for 6+ months now, WITH GRAFANA, and I finally went through the troubleshooting steps of disabling extensions in turn, zeroing in on Canvasblocker, etc. I come here to file a bug, search, and... not even an hour beforehand, I learn there's a fix in the works haha.

Following, so I can get notified when the Mozilla verification is in flight. In the meantime, I've been using Grafana in Private Mode (where CanvasBlocker is not enabled) with no issues.

Do we have a rough ETA on when the latest version will be verified by Mozilla?

law avatar Jan 11 '25 17:01 law

No - I have no ETA.

kkapsner avatar Jan 11 '25 21:01 kkapsner

Using grafana in recent days for me - hasn't produced the same.

Maybe something has happened outside of grafana?

knaggsy2000 avatar Mar 14 '25 00:03 knaggsy2000