mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Add more to sukka_enhance_adblock.sgmodule
This commit is contained in:
13
Assets/ampproject-org_v0.js
Normal file
13
Assets/ampproject-org_v0.js
Normal 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);
|
||||
})();
|
||||
Reference in New Issue
Block a user