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


Click here to return to the 'Auto-zoom new Safari windows to near full-screen' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Auto-zoom new Safari windows to near full-screen
Authored by: felium on May 19, '03 11:01:17AM

i created a new bookmark named "FullScreen" and added this javascript as the URL:

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

dragging the bookmark to the bookmark bar now gives me a selective one click > full screen browser window... unfortunately, clicking this as safari is loading a document stops the page from loading in the new beta (v74), the previous beta worked fine.



[ Reply to This | # ]
page loading works for me
Authored by: echo on May 19, '03 03:13:29PM

"clicking this as safari is loading a document stops the page from loading"

I have used these javascript bookmarklets for years for resizing windows. What you describe, the page not finishing loading, I had noticed in IE, and was happy to see it continues to load in Safari. This is still true with the latest beta.



[ Reply to This | # ]
Auto-zoom new Safari windows to near full-screen
Authored by: bluehz on May 19, '03 04:43:23PM
Yes - I have used a bookmark bar version of this tip for years in various browsers. Was thinking it would be nice if whenever you opened a new window it would actually zoom full screen (or desired width). I suppose since Safari won't take JS directly like that you could do something like create a simple blank page with nothing but an ONLOAD statement issuing the JS, save that locally, then point your "home" to that. Create this file, save it locally (ex. ~/Documents)

<html>
<head>
	<title>Home</title>
</head>
<body inload="window.resizeTo((screen.width),(screen.height));window.moveTo(0,0) ">
</body>
</html>
The inload above is supposed to be "onload", but the forum keeps changing it. After saving the above file (ex. home.html), drag it onto Safari, then open Safari Pref > General > and select "Set To Current Page", Now whenever you open a new window it will go full screen. You can of course alter the dimensions above as desired.

[ Reply to This | # ]
Auto-zoom new Safari windows to near full-screen
Authored by: mahakali on May 19, '03 05:29:45PM
You can also use keyboard shortcut command-# if you put it in the bookmark bar. To look up the shortcuts, check "Include bookmarks bar" from "Bookmarks menu" in the preferences. You'll see something like this on your bookmark menu.

[ Reply to This | # ]
Awesome!
Authored by: Cantus on May 19, '03 10:35:25PM

Great as a complement to the original hint! I myself dislike SEEING the Bookmarks bar, so I can just hide it but enable it in the Bookmarks menu and using its keyboard shortcuts for easy access! Great!



[ Reply to This | # ]