Thursday, January 29, 2009

The importance of FoxMarks

Ask yourself this question, if I lost all my browser bookmarks would I know what I've lost? It's quite amazing how much time most surfers invest in organizing and collecting their favourite places on the internet.

I have recently installed Foxmarks which backup your favourites and allows you to access your bookmarks on the internet. I particularly like the password saving part as this means that I can create new accounts and passwords on websites and log in without any problem on another machine. The profiles feature is pretty neat too as this means I can restrict my "@work" version to professional interest rather than overly personal stuff.

I did however take the precaution of using a pretty secure password for the account. The thought of someone hacking all my passwords at the same time gives me the shivers.

Saturday, January 3, 2009

Flickr email checkbox ticker bookmarklet

One slightly annoying feature of Flickr is that there is no way of filtering your email. In particular I get a lot of group invites and emails telling me someone added me as a contact. Frequently there is no need for me to open these emails and to delete them means individual checkboxes have to be ticked. Here's a bookmarklet that you can drop into your bookmarks that does exactly that.

Within the javascript there is a "filter" variable that you can set to any text you want (at the moment it matches emails with the words 'Invite to' or 'You are' in the subject). Here's the javascript source:
javascript:(function(){
var anchors=document.getElementsByTagName('A'),
checkboxes=document.getElementsByTagName('INPUT'),
filter=/Invite to|You are/, i, j;
for(i=0;i<anchors.length;i++){
if(anchors[i].innerHTML.search(filter)>=0){
for(j=0;j<checkboxes.length;j++){
if(anchors[i].href.slice(-16)==checkboxes[j].name.slice(-16)){
checkboxes[j].checked=1
}
}
}
}
})()