feat(content): improve script

This commit is contained in:
Juan José Vílchez 2021-02-07 03:38:28 +01:00
parent a91fbc34fd
commit 8f272fcfbb

View File

@ -7,8 +7,11 @@ if (!!window.chrome) {
};
const fix = () => {
document.body.style.overflowY = "unset";
document.documentElement.style.overflowY = "unset";
const body = document.body.style;
const html = document.documentElement.style;
body.setProperty("overflow-y", "unset", "important");
html.setProperty("overflow-y", "unset", "important");
};
const retrieveElement = (match) => {