So, I’m curious: what Flock extensions are you using besides Zotero?
Multi-bookmarks in Flock (or Firefox)
Note: This post is over 3 months old. You may want to check later in this blog to see if there is new information.
The following links are auto-generated but may help you locate newer content:
I’ve switched to Flock as my primary browser. Yes, I still load Safari when I miss the speed and beauty, but there are a few plugins I’ve come to depend on that happen to be compatible with Flock. Like Zotero, for example. It’s amazingly well developed for a beta. And having all of my TUAW compatriots displayed in a twitter sidebar prevents me from getting the overload that comes every time I load Twitterific. But I’ve had to find solutions for a couple of issues, one of which I thought I’d share. Safari allows you to set “auto-click” on folders of bookmarks, so that when you click the folder in your toolbar, it loads all of the contained items in tabs. I wanted similar functionality in Flock/Firefox…
The solution is a javascript bookmarklet. A simple javascript:void(window.open(‘http://yoursite.com’)); will open one page. Double it up for two pages, and if you have your preferences set to open new windows in tabs, this will give you two tabs for the specified links:
javascript:void(window.open('http://bookmark1.com'));void(window.open('http://bookmark2.com'));
So then I just had to speed the process up. This is a quick AppleScript that will grab all of your currently opened Safari tabs (in the front window only) and build the bookmarklet for you, placing it in the clipboard. Then you just need to create a new bookmarklet in Flock/Firefox and paste it as the link. Click here to open this script directly in Script Editor.
Create multi-bookmark from Safari Tabs
tell application "Safari"set tabList to every tab of front windowset tabLinkList to {}repeat with aTab in tabListset aLink to URL of aTabset tabLinkList to tabLinkList & aLinkend repeatset {astid, AppleScript's text item delimiters} to ¬{AppleScript's text item delimiters, return}set linkList to tabLinkList as stringset AppleScript's text item delimiters to astidend tellset urlList to "javascript:"set {astid, AppleScript's text item delimiters} to ¬{AppleScript's text item delimiters, return}repeat with anUrl in text items of linkListset jsUrl to "void(window.open('" & anUrl & "'));"set urlList to urlList & jsUrlend repeatset AppleScript's text item delimiters to astidset the clipboard to urlList- Download this code: multibookmarkfromsafaritabs.txt
Whether you dig Flock or happen to like Firefox better than Safari, this should come in handy. 
-
01.27.08 / 2pm
-
01.27.08 / 4pm
The list (and a little explanation) is going to take a post, I’ll try to get to it yet this weekend.
-
02.02.08 / 12pm
I just wanted to put a second vote in for this. I wasn’t hip to Flock or Zotero and I’m loving checking them out so far. It would be great to get a little insight in to the other cool things you’ve stumbled on.
-
02.02.08 / 1pm
[…] covered a way to make bookmarks that will open multiple pages with a single click. Check out the Multi Bookmarks post for details and some […]
-
02.02.08 / 1pm
Wow, I was writing this as you were commenting :).
-
02.09.08 / 7am
The list (and a little explanation) is going to take a post, I’ll try to get to it yet this weekend.
-
02.11.08 / 2am
Thank you.
-
03.19.08 / 7am
Hello!
I think this try.
Have your say
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
8 Comments
Jump to comment form | comments rss [?] | trackback uri [?]