fix(browser-extension): empty bootstrap backdrops
This commit is contained in:
parent
01fbdf6f45
commit
02f0c20014
@ -130,6 +130,12 @@ const match = (node, skipMatch) => {
|
||||
*/
|
||||
|
||||
const fix = () => {
|
||||
const backdrop = document.getElementsByClassName('modal-backdrop')[0];
|
||||
|
||||
if (backdrop && backdrop.children.length === 0) {
|
||||
backdrop.remove();
|
||||
}
|
||||
|
||||
document.getElementsByClassName('_31e')[0]?.classList.remove('_31e');
|
||||
|
||||
if (data?.skips.length && !data.skips.includes(hostname)) {
|
||||
|
Loading…
Reference in New Issue
Block a user