fix(browser-extension): issue #658
This commit is contained in:
parent
293c25578e
commit
41a64e6fcf
@ -273,7 +273,11 @@ function match(element, skipMatch) {
|
||||
* @returns {void}
|
||||
*/
|
||||
function fix() {
|
||||
const backdrops = document.querySelectorAll('.modal-backdrop, .overlay');
|
||||
const backdrops = document.querySelectorAll([
|
||||
'.modal-backdrop',
|
||||
'.offcanvas-backdrop',
|
||||
'.overlay',
|
||||
]);
|
||||
const domains = (skips?.domains ?? []).map((x) => (x.split('.').length < 3 ? `*${x}` : x));
|
||||
|
||||
for (const backdrop of backdrops) {
|
||||
|
Loading…
Reference in New Issue
Block a user