Safari Window Sizing
Posted April 19th, 2003 @ 02:40pm by Erik J. Barzeski
Annoyed that Safari sometimes forgets your preferred window size? Here's an AppleScript (great for ~/Library/Scripts/Applications/Safari) and a bookmarklet that will resize your browser windows for you.
tell application "Safari"
set myJS to "self.moveTo(8,28);self.resizeTo(1024,900);"
repeat with thisWin in every document
do JavaScript myJS in thisWin
end repeat
end tell
Or, if you'd like a bookmarklet, copy the URL of this bookmarklet and add it to your bookmarks (probably in the bookmarks bar).
Edit as you see fit, of course.
Donate Life
Posted 19 Apr 2003 at 4:48pm #
Here is a window resize bookmarklet that I use:
javascript:self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);
Posted 19 Apr 2003 at 11:43pm #
Thank you. Your bookmarklet is a dream.
Posted 16 May 2003 at 3:33pm #
I am trying to get info about safari to view on full scrreen but failed
hope you might have some suggetions
appreciate your reply
Posted 27 Dec 2007 at 1:17am #
Hi
Thanks for the solution. its really working like a rocket. awesome!!!!!!!
thanks a ton
Posted 14 Mar 2008 at 2:25pm #
I would also like to be able to make the Safari window full size but am a new user and not sure where to place the bookmarklet recommended above 🙄 . Thanks