sereneblue / chameleon

WebExtension port of Random Agent Spoofer
https://sereneblue.github.io/chameleon
GNU General Public License v3.0
521 stars 53 forks source link

It can't override properties that inside the iframe elements #579

Open 0x0480 opened 8 months ago

0x0480 commented 8 months ago

Prerequisites

Please use issues for bugs only! Answer the following questions for yourself before submitting an issue: YOU MAY DELETE THE PREREQUISITES SECTION.

Expected Behavior

Randomized props. https://iphey.com (no iframe)

Current Behavior

Untouched properties like JavaScript UserAgent, Audio, Client Rects hashes etc. https://gologin.com/check-browser (contains an iframe to iphey)

Context (Environment)

123.0 Nightly

sereneblue commented 8 months ago

Hi @0x0480,

I'm not able to replicate using a spoofed profile. Do you have any other extensions enabled that might be conflicting with Chameleon? Can you post your settings?

0x0480 commented 8 months ago

Hi @sereneblue ,

First of all, thanks for your fast reply.

And nope, there is no other extension enabled. But, I'm using firefox with privacy.fingerprintingProtection and privacy.resistFingerprinting prefs enabled.

https://gist.github.com/0x0480/51fa86c0a6fc429aebe5625ae172cc39 Here's my ext settings.

And with iframe: image image Audio and Rects hashes are always same. Without iframe: image image

WebGL + Canvas hashes randomly returns but it's not related with Chameleon.

0x0480 commented 8 months ago

UPDATE:

Yup, i think privacy.resistFingerprinting option causes that issue.

Oh no, it just works for navigator.useragent prop. Audio fp and client rects fp are still unaffected when they're inside an iframe.

sereneblue commented 7 months ago

After some testing, it does seem like this is a bug. Thanks for reporting, I'll continue to look into this.