I was wondering whether a tricky JavaScript snippet exists, to replace web browsers default Crl+N event handler(they open a new file).
(I know it’s a bad boy’s job and I also know chances are low.)
I was wondering whether a tricky JavaScript snippet exists, to replace web browsers default
Share
Browsers are designed so that websites run in sandboxes. Preventing anything that goes sour ( maliciousness intended or not ) to not affect the computer itself. So you might be able to change your own browser settings, I doubt you will find an easy way to do this.
In addition you shouldn’t do this even if you find a way. IE will let you erase the clipboard, but that doesn’t mean doing so wont piss off every user who visits your website.
Why do you want such behavior anyway? I cannot see any amicable reason.