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