User:WooperIsBest/Autocorrect.js

document.addEventListener("keydown", function{		if(mw.config.get("wgAction") == "edit"){			var editSpace = document.getElementsByClassName("ve-init-mw-desktopArticleTarget-originalContent")[0];			console.log("Editing, " + typeof editSpace + ", " + mw.config.get("wgAction"));			//editSpace.innerText = "";		}else{			console.log("Not Editing, " + mw.config.get("wgAction"));		}	}); }(this, this.jQuery, this.mediaWiki));
 * (function (window, $, mw) {