fix: problems in some sites
This commit is contained in:
parent
01f342b26d
commit
fa3da2cc95
@ -1,3 +1,4 @@
|
||||
export const UNTOUCHABLE_SITES = [
|
||||
'www.aviva.co.uk',
|
||||
'www.youtube.com',
|
||||
];
|
@ -21,6 +21,7 @@ const doMagic = () => {
|
||||
// Fixing main elements
|
||||
if (!UNTOUCHABLE_SITES.includes(document.location.host)) {
|
||||
document.documentElement.style.setProperty('overflow', 'unset', 'important');
|
||||
document.body.style.setProperty('overflow', 'unset', 'important');
|
||||
}
|
||||
|
||||
// Remove irritating all removable elements
|
||||
|
Loading…
Reference in New Issue
Block a user