fix(data): issue #267

This commit is contained in:
angel_luis_vn 2023-10-11 12:04:12 +02:00
commit ee19354d56
5 changed files with 12 additions and 8 deletions

View File

@ -12768,4 +12768,6 @@ s4s-privacy-module
tp-yt-iron-overlay-backdrop tp-yt-iron-overlay-backdrop
#wxp_gdpr_container #wxp_gdpr_container
script[src*="wirkaufendeinauto.de"] + div.modal-root > div script[src*="wirkaufendeinauto.de"] + div.modal-root > div
#bcc-outer
#StickieCookies
[class="block z-50 w-full max-w-full md:max-w-small fixed bottom-0 left-0 md:bottom-[20px] md:left-[20px]"] [class="block z-50 w-full max-w-full md:max-w-small fixed bottom-0 left-0 md:bottom-[20px] md:left-[20px]"]

View File

@ -21,4 +21,6 @@ stackage.org
steamcommunity.com steamcommunity.com
substack.com substack.com
sucuri.net sucuri.net
youtube.com youtube.com
godotvr.github.io
tesla.com

View File

@ -21,7 +21,7 @@ export default (server: FastifyInstance, options: RouteShorthandOptions, done: (
reply.send({ reply.send({
data: { data: {
classes: (await results[0].text()).split('\n'), classes: (await results[0].text()).split('\n').filter((x) => !!x),
commonWords: [ commonWords: [
'banner', 'banner',
'cc', 'cc',
@ -37,10 +37,10 @@ export default (server: FastifyInstance, options: RouteShorthandOptions, done: (
'popup', 'popup',
'privacy', 'privacy',
], ],
elements: (await results[1].text()).split('\n'), elements: (await results[1].text()).split('\n').filter((x) => !!x),
fixes: (await results[2].text()).split('\n'), fixes: (await results[2].text()).split('\n').filter((x) => !!x),
skips: (await results[3].text()).split('\n'), skips: (await results[3].text()).split('\n').filter((x) => !!x),
tags: (await results[4].text()).split('\n'), tags: (await results[4].text()).split('\n').filter((x) => !!x),
}, },
success: true, success: true,
}); });

View File

@ -1,7 +1,7 @@
{ {
"manifest_version": 3, "manifest_version": 3,
"name": "Cookie Dialog Monster", "name": "Cookie Dialog Monster",
"version": "6.4.2", "version": "6.4.3",
"default_locale": "en", "default_locale": "en",
"description": "__MSG_appDesc__", "description": "__MSG_appDesc__",
"icons": { "icons": {

View File

@ -177,7 +177,7 @@ function fix() {
} }
} }
if (skips.some((x) => hostname.match(x.replace(/\*/g, '[^ ]*')))) { if (skips.some((x) => !hostname.match(x.replace(/\*/g, '[^ ]*')))) {
for (const element of [document.body, document.documentElement]) { for (const element of [document.body, document.documentElement]) {
element?.classList.remove(...(data?.classes ?? [])); element?.classList.remove(...(data?.classes ?? []));
element?.style.setProperty('position', 'initial', 'important'); element?.style.setProperty('position', 'initial', 'important');