Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'another easy re-size option' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
another easy re-size option
Authored by: Krioni on Sep 25, '03 05:02:42PM
Another easy way to re-size your windows quickly is to make a Javascript bookmarklet and put it as the first bookmark in the Bookmark bar. Then you can just hit Command-1 to re-size the window to the full screen (leaving room for the dock).

javascript:self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);

I think I got that from macosxhints.com.

[ Reply to This | # ]

another easy re-size option
Authored by: phil4u2 on Sep 26, '03 01:26:04PM

Actually, there's another "Feature" or "bug" (whichever you wanna call it) that really bugs me...
Safari always opens new windows at the same size and place as the last opened window (If you opened a pop-up window that's tiny, and then closed it, new windows will open at that last size, tiny)

I wrote a HTML page, saved it locally, and use it as my start page. (in the general preferences, chose start-page)

Here's the code of the page:

<html>
<title>Start full size</title>
<body>

<script language="JavaScript">
<!--
if (window.screen) {
window.moveTo(0,0);
self.resizeTo(screen.availWidth - 150 ,screen.availHeight);
}
//-->
</script>

<script language="JavaScript">
<!--
function redirect()
{
window.location = "http://www.google.com"
}

setTimeout("redirect();", 1)
// -->
</script>

</body>
</html>

What it does, it first places the page at the top left of the screen, and then maximizes it minus 150 pixiels on the right. Then it redirects the page to a page of your choice (in that case, www.google.com).

Works for me!



[ Reply to This | # ]