CHEF-KOCH's Microblog ✨

Firefox hardened CanvasBlocker config

Hardened Firefox CanvasBlocker defaults

You simply can import given settings and that is it.

Linux version to import.

{
"logLevel": 1,
"urlSettings": [],
"hiddenSettings": {
"protectAudio": true,
"protectedAPIFeatures": true
},
"expandStatus": {
"protectNavigator": true,
"section_notifications": false,
"protectAudio": true,
"protectTextMetrics": false,
"protectSVG": true
},
"displayHiddenSettings": true,
"whiteList": "",
"sessionWhiteList": "",
"blackList": "",
"blockMode": "fake",
"protectedCanvasPart": "everything",
"minFakeSize": 10,
"maxFakeSize": 0,
"rng": "persistent",
"protectedAPIFeatures": {
"readPixels @ canvas": false,
"getParameter @ canvas": false,
"getExtension @ canvas": false
},
"useCanvasCache": true,
"ignoreFrequentColors": 3,
"minColors": 3,
"fakeAlphaChannel": false,
"webGLVendor": "",
"webGLRenderer": "",
"webGLUnmaskedVendor": "",
"webGLUnmaskedRenderer": "",
"persistentRndStorage": "{\"www.qwant.com\":[207,55,4,132,224,163,28,218,234,143,10,169,249,50,38,249,106,75,138,235,152,84,40,156,229,61,163,182,160,173,201,1,92,208,190,33,72,26,69,245,75,210,93,114,213,60,174,133,208,57,47,26,71,197,203,69,148,150,2,173,44,63,125,148,165,142,39,65,107,16,165,126,83,110,122,108,27,85,98,84,141,13,53,97,112,73,195,153,128,220,108,90,58,147,145,87,46,139,71,76,73,91,192,206,49,217,133,201,225,114,55,58,91,19,73,252,83,104,251,224,6,215,237,112,122,139,37,128]}",
"persistentIncognitoRndStorage": "",
"storePersistentRnd": false,
"persistentRndClearIntervalValue": 0,
"persistentRndClearIntervalUnit": "days",
"lastPersistentRndClearing": 1646493727258,
"sharePersistentRndBetweenDomains": false,
"askOnlyOnce": "individual",
"askDenyMode": "block",
"showCanvasWhileAsking": true,
"showNotifications": false,
"highlightPageAction": "none",
"highlightBrowserAction": "color",
"displayBadge": false,
"storeNotificationData": false,
"storeImageForInspection": false,
"ignoreList": "",
"ignoredAPIs": {},
"showCallingFile": false,
"showCompleteCallingStack": false,
"enableStackList": false,
"stackList": "",
"protectAudio": false,
"audioFakeRate": "100",
"audioNoiseLevel": "minimal",
"useAudioCache": true,
"audioUseFixedIndices": true,
"audioFixedIndices": "14",
"historyLengthThreshold": 2,
"protectWindow": false,
"allowWindowNameInFrames": false,
"protectDOMRect": true,
"domRectIntegerFactor": 4,
"protectSVG": true,
"protectTextMetrics": true,
"blockDataURLs": true,
"protectNavigator": true,
"navigatorDetails": {
"osPreset": "Linux",
"windowManager": "X11",
"platform": "Linux x86_64",
"platformDetails": "X11; Linux x86_64",
"oscpu": "{platform}",
"browserPreset": "Firefox",
"firefoxVersion": "98.0",
"appVersion": "5.0 ({windowManager})",
"buildID": "20221001000000",
"productSub": "20100101",
"userAgent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0"
},
"protectScreen": true,
"screenSize": "",
"fakeMinimalScreenSize": true,
"displayAdvancedSettings": false,
"displayDescriptions": true,
"theme": "auto",
"dontShowOptionsOnUpdate": false,
"disruptSessionOnUpdate": false,
"updatePending": false,
"isStillDefault": false,
"storageVersion": 1
}

Windows version to import.

{
"logLevel": 1,
"urlSettings": [],
"hiddenSettings": {
"protectAudio": true,
"protectedAPIFeatures": true
},
"expandStatus": {
"protectNavigator": true,
"section_notifications": false,
"protectAudio": true,
"protectTextMetrics": false
},
"displayHiddenSettings": true,
"whiteList": "",
"sessionWhiteList": "",
"blackList": "",
"blockMode": "fake",
"protectedCanvasPart": "everything",
"minFakeSize": 10,
"maxFakeSize": 0,
"rng": "persistent",
"protectedAPIFeatures": {
"readPixels @ canvas": false,
"getParameter @ canvas": false,
"getExtension @ canvas": false
},
"useCanvasCache": true,
"ignoreFrequentColors": 3,
"minColors": 3,
"fakeAlphaChannel": false,
"webGLVendor": "",
"webGLRenderer": "",
"webGLUnmaskedVendor": "",
"webGLUnmaskedRenderer": "",
"persistentRndStorage": "",
"persistentIncognitoRndStorage": "",
"storePersistentRnd": false,
"persistentRndClearIntervalValue": 0,
"persistentRndClearIntervalUnit": "days",
"lastPersistentRndClearing": 1746443757258,
"sharePersistentRndBetweenDomains": false,
"askOnlyOnce": "individual",
"askDenyMode": "block",
"showCanvasWhileAsking": true,
"showNotifications": false,
"highlightPageAction": "none",
"highlightBrowserAction": "color",
"displayBadge": false,
"storeNotificationData": false,
"storeImageForInspection": false,
"ignoreList": "",
"ignoredAPIs": {},
"showCallingFile": false,
"showCompleteCallingStack": false,
"enableStackList": false,
"stackList": "",
"protectAudio": false,
"audioFakeRate": "100",
"audioNoiseLevel": "minimal",
"useAudioCache": true,
"audioUseFixedIndices": true,
"audioFixedIndices": "14",
"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": true,
"theme": "auto",
"dontShowOptionsOnUpdate": false,
"disruptSessionOnUpdate": false,
"updatePending": false,
"isStillDefault": false,
"storageVersion": 1
}

#CanvasBlocker #Firefox #hardening