keep javascript from changing window properties

Martijn Klingens klingens at kde.org
Fri Oct 11 15:24:18 BST 2002


On Friday 11 October 2002 15:25, Leo Savernik wrote:
> I think that would be overkill to provide a yes/no/ask/smart policy for
> simple actions like window.resizeXX window.moveXX window.[default]status
> because they *cannot* break pages by simply doing nothing. My patch doesn't
> work like mozilla where denying window resize/move meant throwing a JS
> security exception effectively killing the script which indeed broke
> existing pages (but I think they have fixed it by now).

They can. Think of intranet sites or backoffices that dynamically add widgets 
as needed and resize the window accordingly.

-- 
Martijn





More information about the kfm-devel mailing list