jquery - Move a cursor position in iframe via javascript -
i want code move cursor position in iframe via javascript or jquery. me lot.
not possible. answer why that's impossible, imagine:
- i include iframe important business (let's suppose moment business not have frame-busting code)
- when user reaches page, begins manually controlling cursor's position highlight "delete account" button, , simulates click.
- user's account deleted on different site, through none of input.
javascript allows many ui-coding capabilities, the user in control. events "onpageunload" restricted in can do, , browsers include 'escape' options there. furthermore, in instance can find way around these chains, frustrate , quite possibly panic many of users. try warn people instance in you're "re-coding browser" may lead sorts of unpredictable issues, , may prevent handicapped accessibility site.
it might know if there's specific reason you'd - possibly solution not think is. instance, if trying make fps using webgl, seem remember chrome including function allow mouse control inside of window (possibly taking browser confirmation dialog)
Comments
Post a Comment