[webkit-dev] feature proposal: restricting window.blur/focus
jochen at chromium.org
Wed Apr 4 01:31:11 PDT 2012
Firefox restricts the use of window.blur() and window.focus() (by default).
window.blur() is just doing nothing, and window.focus() only works if the
caller is running in the same window.
Should we implement similar rules for WebKit? The purpose of this is to
make pop-unders more difficult to achieve.
I think this can be implemented in such a way the the chrome implementation
which is doing the actual focusing/bluring anyway has enough information to
let each port control what they want to do.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev