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


Click here to return to the 'A collection of bookmarklets to control Safari windows' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A collection of bookmarklets to control Safari windows
Authored by: zedwards on Jan 29, '04 11:20:35AM

Yes, very nice. More please! :^) For the non-javascript people, how would one change the size, but not the position? What variable from the above would be moved? I am assuming that it has to do with the 0,0 location.



[ Reply to This | # ]
Bookmarklets that are moving as little as possible.
Authored by: pwever on Jan 29, '04 01:07:31PM
800 pixel wide, as tall as possible, staying as close to the current position as possible: *

javascript:self.moveTo(Math.min(self.screenLeft,screen.availWidth-800),0);self.resizeTo(800,screen.availHeight);
800 pixel wide, 600 pixel tall, staying as close to the current position as possible: **

javascript:self.moveTo(Math.min(self.screenLeft,screen.availWidth-800),Math.min(self.screenTop,screen.availHeight-600));self.resizeTo(800,600);


[ Reply to This | # ]