commit
1a6aafb8e1
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Do Not Consent",
|
"name": "Do Not Consent",
|
||||||
"version": "4.3.0",
|
"version": "4.3.1",
|
||||||
"default_locale": "en",
|
"default_locale": "en",
|
||||||
"description": "__MSG_appDesc__",
|
"description": "__MSG_appDesc__",
|
||||||
"icons": {
|
"icons": {
|
||||||
|
@ -44,10 +44,12 @@ let selectorsFromNetwork = [];
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
const fix = () => {
|
const fix = () => {
|
||||||
const html = document.documentElement;
|
|
||||||
const body = document.body;
|
const body = document.body;
|
||||||
|
const classListToRemove = ["ta-cc-modal-open"];
|
||||||
const facebook = document.getElementsByClassName("_31e")[0];
|
const facebook = document.getElementsByClassName("_31e")[0];
|
||||||
|
const html = document.documentElement;
|
||||||
|
|
||||||
|
if (body) body.classList.remove(...classListToRemove);
|
||||||
if (body) body.style.setProperty("overflow-y", "unset", "important");
|
if (body) body.style.setProperty("overflow-y", "unset", "important");
|
||||||
if (facebook) facebook.style.setProperty("position", "unset", "important");
|
if (facebook) facebook.style.setProperty("position", "unset", "important");
|
||||||
if (html) html.style.setProperty("overflow-y", "unset", "important");
|
if (html) html.style.setProperty("overflow-y", "unset", "important");
|
||||||
|
Loading…
Reference in New Issue
Block a user