Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window.name #635

Open
DomOBU opened this issue Dec 21, 2022 · 3 comments
Open

window.name #635

DomOBU opened this issue Dec 21, 2022 · 3 comments

Comments

@DomOBU
Copy link

DomOBU commented Dec 21, 2022

Description

It seems that the exclusion lists are not taken into account.
I have added several sites to the exclusion list.

If I understand how CB works, in the attached configuration, CB should not intervene on the sites in the list.
I have to uncheck "name" for the site to work.

Expected Behavior

For the sites in the exclusion list CB should not intervene so that I can log in to the site.

Current Behavior

I cannot log in to the site.

Possible Solution

Steps to Reproduce (for bugs)

  1. Need login & pwd of the site

Context

Problem when I want to buy or pay online for some sites.

Your Environment

  • CanvasBlocker Version used: 1.8

  • Firefox version incl. 64-bit last version

  • Operating System and version (desktop or mobile): Windows 10 Famille 22H2 19045.2364

  • Installed addons:
    uBO
    Simple Translate

Your Settings

<!--- Copy your CanvasBlocker settings here. -->
<!-- They can be retrieved by checking the expert mode and going to export settings. -->
<!--- You may consider deleting personal data - especially the "persistentRndStorage". -->

{
"logLevel": 1,
"urlSettings": [

],
"hiddenSettings": {
	"whiteList": false
},
"expandStatus": {
	"section_Canvas-API": true,
	"section_TextMetrics-API": true,
	"section_lists": true,
	"section_faking": true,
"section_notifications": true,
	"blockMode": false,
	"showNotifications": false,
	"highlightPageAction": false,
	"highlightBrowserAction": false,
	"section_settings": true,
	"section_misc": true,
	"section_Audio-API": true,
	"fakeMinimalScreenSize": false,
	"blockDataURLs": false,
	"protectAudio": false,
	"protectedCanvasPart": false,
	"allowWindowNameInFrames": true,
	"section_Screen-API": true,
	"section_Navigator-API": true,
	"section_SVG-API": true,
	"protectWindow": true,
	"screenSize": false
},
"displayHiddenSettings": true,
"whiteList": "",
"sessionWhiteList": "",
"blackList": "",
"blockMode": "fake",
"protectedCanvasPart": "input",
"minFakeSize": 10,
"maxFakeSize": 0,
"rng": "persistent",
"protectedAPIFeatures": {
	"name @ window": false
},

"useCanvasCache": true,
"ignoreFrequentColors": 3,
"minColors": 3,
"fakeAlphaChannel": true,
"webGLVendor": "{random vendor}",
"webGLRenderer": "{random renderer}",
"webGLUnmaskedVendor": "{random vendor}",
"webGLUnmaskedRenderer": "{random renderer}",
"persistentRndStorage": "{}",
"persistentIncognitoRndStorage": "{"[email protected]":[193,158,77,100,226,138,42,151,218,69,81,48,169,242,173,180,98,243,178,209,192,195,106,101,153,76,169,190,227,13,78,229,168,89,144,125,172,220,133,218,21,173,28,210,141,99,145,222,144,166,89,64,193,184,44,171,249,95,34,91,139,102,116,162,118,90,200,103,217,46,76,18,254,202,229,16,149,231,252,15,90,22,234,32,166,50,80,140,44,178,208,214,38,221,101,155,23,251,216,164,62,168,105,178,220,181,142,11,90,211,251,113,40,190,157,72,195,64,59,35,14,129,197,18,188,33,177,66],"[email protected]":[147,64,101,121,106,147,213,145,190,108,178,8,17,138,34,241,14,237,86,178,194,250,97,82,191,253,88,28,141,198,43,180,124,217,6,144,166,254,185,190,27,190,66,9,220,250,199,96,76,192,145,234,143,51,209,166,127,16,27,160,194,253,22,116,209,163,126,138,62,11,172,155,105,197,57,231,98,93,176,202,149,194,58,121,40,103,38,86,121,3,248,149,229,58,128,168,66,68,16,133,36,71,105,94,170,78,55,156,61,46,47,202,222,234,120,163,1,58,225,39,148,96,23,41,18,14,156,137]}",
"storePersistentRnd": true,
"persistentRndClearIntervalValue": 1,
"persistentRndClearIntervalUnit": "days",
"lastPersistentRndClearing": 1671610609493,
"sharePersistentRndBetweenDomains": false,
"askOnlyOnce": "individual",
"askDenyMode": "block",
"showCanvasWhileAsking": true,
"showNotifications": true,
"highlightPageAction": "color",
"highlightBrowserAction": "color",
"displayBadge": true,
"storeNotificationData": false,
"storeImageForInspection": false,
"ignoreList": "",
"ignoredAPIs": {},
"showCallingFile": false,
"showCompleteCallingStack": false,
"enableStackList": false,
"stackList": "",
"protectAudio": true,
"audioFakeRate": "0.1%",
"audioNoiseLevel": "low",
"useAudioCache": true,
"audioUseFixedIndices": true,
"audioFixedIndices": "2, 7",
"historyLengthThreshold": 2,
"protectWindow": true,
"allowWindowNameInFrames": false,
"protectDOMRect": true,
"domRectIntegerFactor": 5,
"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",
"appVersion": "5.0 ({windowManager})",
"buildID": "20181001000000",
"productSub": "20100101",
"userAgent": "Mozilla/5.0 ({platformDetails}; rv:{firefoxVersion}) Gecko/20100101 Firefox/{firefoxVersion}",
"firefoxVersion": "90.0.1",
"vendor": "IBM"
},
"protectScreen": true,
"screenSize": "",
"fakeMinimalScreenSize": true,
"displayAdvancedSettings": true,
"displayDescriptions": true,
"theme": "auto",
"dontShowOptionsOnUpdate": false,
"disruptSessionOnUpdate": false,
"updatePending": false,
"isStillDefault": false,
"storageVersion": 1
}

![CBCapture](https://user-images.githubusercontent.com/95876663/208998389-5073bab0-f74d-4e9b-82e0-4a720d967642.jpg)
@kkapsner
Copy link
Owner

Sorry for the late response.

I think your settings are not quite right. You entered specific URLs and these are interpreted as RegExp and have to to be masked accordingly. The best way to whitelist a site/URL is over the fingerprint icon in the URL bar:
grafik

But without a specific scenario (i.e. site to reproduce the problem) I cannot help you in detail. The test on https://canvasblocker.kkapsner.de/test/cspTest.php works when whitelisting like this:
grafik

@DomOBU
Copy link
Author

DomOBU commented Mar 15, 2023

Thank you for your answer.

"The best way to whitelist a site/URL is over the fingerprint icon in the URL bar" : it is easier indeed.

But you had to know about these possibilities.
Moreover, the various options are difficult to display (the hover is capricious).

An explanation of this feature should be added to the header of the APIs tab.
A question mark in the window that opens when the icon is clicked might be useful. Clicking on it would show the options.

@kkapsner
Copy link
Owner

I know... the whitelisting needs an overhaul...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants