Matthew Thomas schrieb:
>Henri Sivonen wrote:
>> [ ] Discover the properties of the screen and the size of the window
>> [ ] But let the script believe the screen size is [800*600 |v]
>>...
>
>How do we block this? What happens when a script asks for the size? Do
>we return (0, 0), or what?
Throw an exception (if Javascript has exceptions)? Cancel the
execution?
>Perhaps what you want here is a way to prevent an author from creating a
>window that is larger than the display. But we shouldn't ever allow that anyway.
What I'd like is a way to prevent an author from creating a window
that is as large as the display. I paid good money for an extremely
large monitor, and an operating system that can handle
partially-occluding windows, so that I don't have to maximise every
single application I have open, and I don't like people maximising my
windows for me.
That said, Windows and the Mac don't offer a simple way to temporarily
reduce the screen resolution for testing purposes (without messing up
your icon layouts and the like) - I imagine that little drop-down
would be helpful in such circumstances ("And what does my layout look
like at 512x384?").
--
,------------------------------------------------- ------ ---- -- - - -
| Screwtape | Reply-To: is munged on Usenet | members.xoom.com/thristian
|--------------------------------------------- ---- ---- --- -- - - - -
|
| Y. Carnica lecked stempser something? Stedder vorlems chir-ped lookin ferrets.
|