arkenfox / TZP

TorZillaPrint: Firefox & Tor Browser fingerprint testing
https://arkenfox.github.io/TZP
MIT License
189 stars 28 forks source link

Private Fields/Methods #66

Open Thorin-Oakenpants opened 3 years ago

Thorin-Oakenpants commented 3 years ago

blurp: Hey, how do Private Fields and Private Methods work regards extensions vs scripts

i.e can an extension hide itself better, can script code protect itself from being manipulated?


someone else said: Hmmm...I don't think this would hide the extension's activity but it could protect classes from manipulation and hide internal fields/methods that do not appear native. I'm interested in trying this out.

Thorin-Oakenpants commented 3 years ago

I wrote a test for this quite a few versions ago as a version check for some aspect of it, but then found out it's all behind a pref(s): haven't got it anymore, shouldn't be hard to whip one up and use a global var isPrivate (or something)

But I guess we need to do a live test on something to see what it can protect. Your assignments are stacking up bro :)