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 |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1:
function clean(){
document.querySelectorAll('[style]').forEach(function (e){▼
if (
return;
}
▲ document.querySelectorAll('[style]').forEach(function (e){
e.removeAttribute('style');▼
if (e.className.indexOf('ace_') > -1) {
});▼
return;
}
if (e.className === 'table-no') {
e.style.backgroundColor='#400000';
return;
}
if (e.className === 'table-yes') {
e.style.backgroundColor='#004000';
return;
}
▲ });
}
clean();
|