// ==UserScript== // @name SO Autocorrect // @namespace http://tampermonkey.net/ // @version 0.1 // @description Autocorrects question contents, to save your brain the hassle. // @author Jabster28 // @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js // @require https://gitcdn.xyz/cdn/surfinzap/typopo/af175ce4eb7ac506ad771db4a9679c179aa49e81/dist/typopo_dist.min.js // @match ://stackoverflow.com/questions/* // @grant none // @downloadURL none // ==/UserScript== $(".post-text p").each(function (e) { console.log($(".post-text p")); $(".post-text p") .eq(e) .text( typopo.fixTypos($(".post-text p").eq(e).text(), "en-us", { removeLines: false, }) ); });