3 ms·
Are you aware of the window.screenX property? It does not really seem to have any restriction. Does it? https://developer.mozilla.org/en-US/docs/Web/API/Window
by sdeframond 3y ago
Are you aware of the window.screenX property? It does not really seem to have any restriction. Does it?
https://developer.mozilla.org/en-US/docs/Web/API/Window/screenX https://developer.mozilla.org/en-US/docs/Web/API/Window/scre...
- dahart 3y agoYes, you can access window.screenX for your own window, but not for other windows. If you’re writing code for an iframe embedded into a domain that’s not yours, your code does not have access to the parent’s windows.screenX.