Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

help for screen #594

Open
umuttekin3349 opened this issue May 3, 2018 · 0 comments
Open

help for screen #594

umuttekin3349 opened this issue May 3, 2018 · 0 comments

Comments

@umuttekin3349
Copy link

umuttekin3349 commented May 3, 2018

hi dillbryne i need your help. i want to spoof screen resolution on this site
'https://www.whatismyscreenresolution.com/'
and
'https://browserleaks.com/javascript (in iframe.contentWindow mode)

but i am using google chorome and your extension is working on firefox i cant porting firefox addon to google chorome extension so i need your help i only want how can i manual set screen resolution on these sites i tried change window.screen object and screen.weight vs. objects in javascprit but not working in these sites my codes is;

Object.defineProperty(window.screen, "height", { get: function(){return 999; }}); Object.defineProperty(window.screen, "width", { get: function(){return 999; }});

screen = new function() { this.width = 777; this.height = 575 }

these codes is not working on 'https://www.whatismyscreenresolution.com/' and 'https://browserleaks.com/javascript (in iframe.contentWindow mode)

please give me javascript codes that I can change to manual thread and working on these sites i dont know coding and I did not understand anything in \lib\modifiedAPIs\screen.js

please help me

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

No branches or pull requests

1 participant