AdminAnimus / CapitalRoulette

// ==UserScript==
// @name         CapitalRoulette
// @namespace    http://tampermonkey.net/
// @version      1
// @description  To caps or not to caps.
// @author       Animus
// @match        *://*/*
// @grant        none
// ==/UserScript==
/* jshint -W097 */
'use strict';

var txtnumnum = Math.floor(Math.random() * 3) + 1
if (txtnumnum==1){
document.body.style.textTransform = 'capitalize';
}else if (txtnumnum==2){
document.body.style.textTransform = 'uppercase';
}else if (txtnumnum==3){
document.body.style.textTransform = 'lowercase';
}