feat(content): improve script
This commit is contained in:
parent
a91fbc34fd
commit
8f272fcfbb
@ -7,8 +7,11 @@ if (!!window.chrome) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const fix = () => {
|
const fix = () => {
|
||||||
document.body.style.overflowY = "unset";
|
const body = document.body.style;
|
||||||
document.documentElement.style.overflowY = "unset";
|
const html = document.documentElement.style;
|
||||||
|
|
||||||
|
body.setProperty("overflow-y", "unset", "important");
|
||||||
|
html.setProperty("overflow-y", "unset", "important");
|
||||||
};
|
};
|
||||||
|
|
||||||
const retrieveElement = (match) => {
|
const retrieveElement = (match) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user