Join 3,512 readers in helping fund MetaFilter (Hide)


Safari Bookmark That Controls Scroll Position
November 29, 2012 2:51 PM   Subscribe

In Safari 6, I have a folder of bookmarks on the Bookmarks Bar that I visit each day by right-clicking and choosing "Open in Tabs". I'd like one of those bookmarks to open to a specific vertical scroll position on the page in question. Is that do-able?

I made an inept attempt at doing something via Javascript and found the scrolling to be inconsistent and that an empty, unnecessary tab was created.

javascript:w=window.open("http://www.site.com/"); setTimeout(function() {w.scrollTo(0,1500)},10000);
posted by boombot to Computers & Internet (2 answers total)
 
You can use location.href instead of window.open so you won't get the extraneous tab. (Because you're selecting the menu item "Open in Tabs," you're already getting the fresh tab you need)

I don't know about the scrolling part, though.
posted by bcwinters at 3:54 PM on November 29, 2012


I don't suppose the target page has an anchor where you want to scroll to?
posted by Mad_Carew at 5:04 PM on November 29, 2012 [2 favorites]


« Older I have a MediaWiki installatio...   |  Which macro and zoom lens (one... Newer »
This thread is closed to new comments.