Skip to content

Instantly share code, notes, and snippets.

@rtimmons
Last active November 10, 2016 04:52
Show Gist options
  • Save rtimmons/421907283e20133ea1de5a13107aaeef to your computer and use it in GitHub Desktop.
Save rtimmons/421907283e20133ea1de5a13107aaeef to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Trumpicana
// @namespace http://tampermonkey.net/
// @version 0.1
// @description grab the 🙀
// @author not me
// @match http://*/*
// @grant none
// ==/UserScript==
/*
1. Install Tampermonkey or similar UserScript extension
https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en
2. Add this file as a script
3. Enjoy
*/
(function() {
'use strict';
document.body.innerHTML = document.body.innerHTML.replace(/(donald)?\s*trump/gi,'🍊')
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment