Some Javascript should seriously be abolished

window.innerWidth = screen.width;
window.innerHeight = screen.height;

This in particular. Because, you know, some people beleive their choice is better than yours, so they force your browser window to full width and height everytime you enter their site by entering this code right in the body under a script tag.

Now, you may be like the multiple Windows users, addicts to everything maximized, which was a very reasonable thing to do on smaller screens. It may be the only thing I’ve always critized the Mac for, the lack of true window maximization. But, it does fit well on a super-sized screen Mac. A bit less “fit” on Windows though, I still think my browser window belongs in the “equivalent to 19″ monitor” width rather than a full 1920px. The reason is simple: the background color of a browser window is often white, and, as our monitors today are simply freakishly bright, having all that white in the background is like putting a flash-light on your eyes while you read. I personally prefer seeing just the right size browser window, full height of course (considering you have a widescreen monitor in paysage format), with the nuanced background of the computer. It’s much more pleasing to the eyes, and frankly, most appealing than the bland backgrounds web pages are often given.

Maybe someone should start a standards organization about that; ban the stupid codes, kind of like what happened to blink, and what should happen to animated gifs.


Share this!
  • Facebook
  • FriendFeed
  • Twitter
  • Digg
  • LinkedIn
  • del.icio.us
This entry was posted in Web Developement. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>