nfart

Turns all text on page to Fart

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name          nfart
// @namespace     http:/penple.org/
// @description	  Turns all text on page to Fart 
// @include       *
// @version       1.0
// ==/UserScript==

var words=['Fart ','fart ','FART! ','Fart! ','Fart. ','FaRt ','fart. ','f-fart? ','Fart? ','fart? ','FART?! '];function groot(node){if(node.nodeType===Node.TEXT_NODE){var text=node.textContent;var iam=text.replace(/\b(\w\S*\s?){1,3}/ig,function(){var idx=Math.floor(Math.random()*words.length);return words[idx];});node.textContent=iam;return;}else if(node.nodeType===Node.ELEMENT_NODE){for(var i=0;i<node.childNodes.length;++i){groot(node.childNodes[i]);}return;}else{return;}}groot(document.body);