Merge pull request #5 from wanhose/4.0.2

4.0.2
This commit is contained in:
wanhose 2021-06-23 17:34:37 +02:00 committed by GitHub
commit ab74ee9811
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 5 deletions

View File

@ -12579,4 +12579,5 @@ aside[class*="CookieModalstyles"]
body#Index.Matriculas > div#overlay
#cookie-popup-with-overlay
.wt-cli-cookie-bar-container
html[id="facebook"] > body > div.__fb-light-mode
html[id="facebook"] > body > div.__fb-light-mode
.cookie-notice-message

View File

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Do Not Consent",
"version": "4.0.1",
"version": "4.0.2",
"default_locale": "en",
"description": "__MSG_appDesc__",
"icons": {

View File

@ -51,7 +51,8 @@ const fix = () => {
if (body) body.style.setProperty("overflow-y", "unset", "important");
if (facebook) facebook.style.setProperty("position", "unset", "important");
if (html) html.style.setProperty("overflow-y", "unset", "important");
if (!loading) html.style.setProperty("opacity", "1", "important");
if (body && !loading) body.style.setProperty("opacity", "1");
if (html && !loading) html.style.setProperty("background-color", "initial");
};
/**

View File

@ -1,3 +1,9 @@
html {
opacity: 0 !important;
body {
opacity: 0;
}
@media (prefers-color-scheme: dark) {
html {
background-color: #424242;
}
}