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