Browse Source

remove useless code

gn-pages
Simon Vieille 1 month ago
parent
commit
ebf288ff70
  1. 23
      main.js

23
main.js

@ -1,23 +0,0 @@
window.addEventListener('load', function() {
try {
/*
var inputs = document.querySelectorAll('input[type="text"], input[autofocus], input[placeholder]');
var inputsLength = inputs.length;
for (var u = 0; u < inputsLength; u++) {
inputs[u].blur();
}
var stylusInterval = window.setInterval(function() {
var stylus = document.querySelector('style.stylus');
if (stylus && !stylus.getAttribute('data-clean')) {
stylus.innerHTML = '';
stylus.setAttribute('data-clean', 1);
window.clearInterval(stylusInterval);
}
}, 100);
*/
} catch (e) {}
});
Loading…
Cancel
Save