Anonymous ID: cde7db Dec. 2, 2021, 9:18 p.m. No.15125973   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>5987 >>6043 >>6079 >>6156 >>6176

And I present the Toastmaster Minifix 1.0

 

A standalone code snippet to fix sticky Reply buttons. Does nothing else, could break very slow connections, may cause cancer in lemurs. Contains 0 microns of msg. Offer void in New Jersey.

 

 

window.fixtimer = 0;setInterval(function() { var o = document.getElementsByName('post'); var state = 0; for(var k in o) { if (typeof o[k].value 'undefined') continue; switch(o[k].value) { case 'Reply': state |= 1; break; case 'Posting... (100%)': case 'Updating Thread...': state |= 2; } } if (window.fixtimer && !(state & 2)) { console.log('timer disabled'); clearTimeout(window.fixtimer); window.fixtimer = 0; } if (! window.fixtimer && (state & 2)) { window.fixtimer = setTimeout(function() { var o = document.getElementsByName('post'); for(var k in o) { if (typeof o[k].value 'undefined') continue; o[k].value = 'Reply'; o[k].disabled = false; } },10000); }}, 1000);