feat(browser-extension): drop facebook support
This commit is contained in:
parent
cf1b0e3091
commit
e3f048f0df
@ -9929,8 +9929,6 @@ _evidon-barrier-wrapper
|
|||||||
#f_cookie
|
#f_cookie
|
||||||
#f-cookie-policy
|
#f-cookie-policy
|
||||||
#f6-cp-cookiebanner
|
#f6-cp-cookiebanner
|
||||||
#facebook > body > div.__fb-light-mode
|
|
||||||
#facebook-tracking-notice
|
|
||||||
#facerig-cookies
|
#facerig-cookies
|
||||||
#faldon-cookies
|
#faldon-cookies
|
||||||
#fancybox-overlay
|
#fancybox-overlay
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"name": "Cookie Dialog Monster",
|
"name": "Cookie Dialog Monster",
|
||||||
"version": "6.4.6",
|
"version": "6.4.7",
|
||||||
"default_locale": "en",
|
"default_locale": "en",
|
||||||
"description": "__MSG_appDesc__",
|
"description": "__MSG_appDesc__",
|
||||||
"icons": {
|
"icons": {
|
||||||
@ -23,7 +23,9 @@
|
|||||||
"all_frames": true,
|
"all_frames": true,
|
||||||
"exclude_matches": [
|
"exclude_matches": [
|
||||||
"*://*.codesandbox.io/*",
|
"*://*.codesandbox.io/*",
|
||||||
|
"*://*.facebook.com/*",
|
||||||
"*://*.googleapis.com/embed/*",
|
"*://*.googleapis.com/embed/*",
|
||||||
|
"*://*.messenger.com/*",
|
||||||
"*://*.officeapps.live.com/*",
|
"*://*.officeapps.live.com/*",
|
||||||
"*://*.sharepoint.com/*",
|
"*://*.sharepoint.com/*",
|
||||||
"*://*.suite.office.com/*",
|
"*://*.suite.office.com/*",
|
||||||
|
@ -158,7 +158,6 @@ function match(element, skipMatch) {
|
|||||||
|
|
||||||
function fix() {
|
function fix() {
|
||||||
const backdrop = document.getElementsByClassName('modal-backdrop')[0];
|
const backdrop = document.getElementsByClassName('modal-backdrop')[0];
|
||||||
const facebook = document.getElementsByClassName('_31e')[0];
|
|
||||||
const fixes = data?.fixes ?? [];
|
const fixes = data?.fixes ?? [];
|
||||||
const skips = (data?.skips ?? []).map((x) => (x.split('.').length < 3 ? `*${x}` : x));
|
const skips = (data?.skips ?? []).map((x) => (x.split('.').length < 3 ? `*${x}` : x));
|
||||||
|
|
||||||
@ -166,8 +165,6 @@ function fix() {
|
|||||||
backdrop.remove();
|
backdrop.remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
facebook?.classList.remove('_31e');
|
|
||||||
|
|
||||||
for (const fix of fixes) {
|
for (const fix of fixes) {
|
||||||
const [match, selector, action, property] = fix.split('##');
|
const [match, selector, action, property] = fix.split('##');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user