User:Tim@/common.js: Difference between revisions

Content deleted Content added
Created page with 'document.querySelectorAll('[style]').forEach(function (e){ if (e.className.indexOf('ace_') > -1) { return; } e.removeAttribute('style'); });'
 
No edit summary
Line 1:
function clean(){
document.querySelectorAll('[style]').forEach(function (e){
if (e___location.classNamehref.indexOf('ace_'"#nojs") > -10) {
return;
}
document.querySelectorAll('[style]').forEach(function (e){
e.removeAttribute('style');
if (e.className.indexOf('ace_') > -1) {
});
return;
}
e.removeAttribute('style');
});
}
clean();