Safari Bookmark

An iPhone client for Growl available on the App Store.
BeauGiles
Harmless
Posts: 8
Joined: Tue Jul 14, 2009 12:21 pm

Safari Bookmark

Postby BeauGiles » Sun Jan 30, 2011 1:35 am

Just spent two seconds putting together a quick bookmarklet that'll push the current page Title and URL to Prowl, complete with redirecting you too.

Just make a new bookmark in Safari/Firefox/etc, with the following

Code: Select all

javascript:q=location.href;if(document.getSelection){d=document.getSelection();}else{d='';};p=document.title;void(open('https://prowl.weks.net/publicapi/add?apikey=XXXX&application=Safari&event=URL&description='+encodeURIComponent(p)+'&url='+encodeURIComponent(q)+''));


(replace XXXX with your API Key).

Enjoy.

User avatar
zac
Cocoaforge Admin
Posts: 1518
Joined: Sun Mar 27, 2005 3:19 pm
Contact:

Re: Safari Bookmark

Postby zac » Sun Jan 30, 2011 2:14 am

It might be a good idea for me to set aside a day or so to write a full-blown bookmarklet.

Ideally I'd like it to work transparently (e.g., no opening tabs or windows) and show progress in some way (such as Instapaper's "Saving…"/"Saved" popover). It would be easy to sub in an API key on the API keys page, to allow for automated bookmarklet creation.


Return to “Prowl”

Who is online

Users browsing this forum: No registered users