I use the following bookmark, which you can create as many as needed, to resize my safari window to a specific size:

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


This moves the window to the far left, top and then makes the width 1250 pixels and makes the hight fill to the available (limited by the dock hight, if not hidden).

To use, bookmark any page and then edit the address with the code above.

Every now and again, an update to safari will break this, and then it'll work again after a subsequent update. 

Safari - is there a way to set a preferred screen size?
When I am writing small scripts for myself, I stack my code high with comments (sometimes I comment more than I code). A lot of people I talk to say that I should be documenting these scripts, even though they are personal, so that if I ever do sell them, I would be ready. But aren't comments a form of documentation?

Wouldn't this:

$foo = "bar"; # this is a comment
print $foo; # this prints "bar"


be considered documentation, especially if a developer is using my code? Or is documentation considered to be outside of the code itself?
