Y
Hacker News
new
|
ask
|
show
|
jobs
by
sdeframond
936 days 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/scre...
1 comments
dahart
935 days ago
Yes, 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.
link