Greasy Fork is available in English.

Screen Resolution Spoof

Alters attempts at fingerprinting your screen resolution to 1920x1080. Only tested in FIrefox.

< Σχολιασμός για τον κώδικα Screen Resolution Spoof

Ερώτηση/σχόλιο

§
Δημοσιεύτηκε: 26/11/2017

Add window.outerHeight and window.outerWidth

If you go to http://resizemybrowser.com/ and switch the toggle at the bottom to "Outer" it will report your real screen size. To fix this you need to add the two below lines to the script:
Object.defineProperty(window, "outerWidth", { get: function(){return 1920; }});
Object.defineProperty(window, "outerHeight", { get: function(){return 1080; }});

r-a-yΔημιουργός
§
Δημοσιεύτηκε: 26/11/2017

Thanks for input!

Just updated the script to add those two variables.

I changed outerHeight to 1040 though because 1080 is not accurate.

§
Δημοσιεύτηκε: 27/11/2017

You are indeed correct. Thank you for fixing it!

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.