Categories
epistula Imported From Epistula web development

Blink bookmarket

This is the code for the bookmarklet that adds things to the “That which is also” section on the front page, People may find it useful (I know I will when I get back to work)

javascript:
link=window.prompt('nLink?',window.location);
title=window.prompt(link+'nTitle?',document.title);
comment=window.prompt(link+'n'+title+'nComment?');
referrer=window.prompt(link+'n'+title+'n'+comment
	+'nReferer?',document.referrer);

document.location=
	'[[BLINK URL]]?url='+escape(link)
	+'&title='+escape(title)
	+'&comment='+escape(comment)
	+'&referrer='+escape(referrer);

Remove all tabs and newlines before use