Skip to content

Instantly share code, notes, and snippets.

@alexrussell
Created December 3, 2012 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexrussell/4195904 to your computer and use it in GitHub Desktop.
Save alexrussell/4195904 to your computer and use it in GitHub Desktop.
Wikify Bookmarklet
javascript:(function(){var els = document.querySelectorAll('p'), df, quotes=['I reckon that','My mate told me','I heard in the pub that','My mum told me','My nana always said that','According to the Daily Mail,','Common sense dictates that','Some people say','Apparently,','I read on Wikipedia that']; for (var element in els) { df = document.createElement('span'); df.innerHTML = quotes[Math.floor(Math.random() * quotes.length)] + ' '; els[element].insertBefore(df, els[element].childNodes[0]); };})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment