Add more to sukka_enhance_adblock.sgmodule

This commit is contained in:
SukkaW
2022-12-08 23:48:38 +08:00
parent 9a229f8772
commit aedcddff9f
9 changed files with 250 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
(function () {
'use strict';
const head = document.head;
if (!head) { return; }
const style = document.createElement('style');
style.textContent = [
'body {',
' animation: none !important;',
' overflow: unset !important;',
'}'
].join('\n');
head.appendChild(style);
})();