Skip to content

Instantly share code, notes, and snippets.

@basketofsoftkittens
Created March 21, 2012 17:36
Show Gist options
  • Save basketofsoftkittens/2149965 to your computer and use it in GitHub Desktop.
Save basketofsoftkittens/2149965 to your computer and use it in GitHub Desktop.
function iprl5() {
var d = document,
z = d.createElement('script'),
b = d.body,
l = d.location;
try {
if (!b){throw (0)};
d.title = '(Saving...) '
d.title;
z.setAttribute('src', l.protocol + '//localhost:8000/site_media/static/bf/js/bookmarklet.js?u=' + encodeURIComponent(l.href) + '&t=' + (new Date().getTime()));
b.appendChild(z);
} catch (e) {
alert('Please wait until the page has loaded.');
}
}
iprl5(); void(0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment