mirror of https://github.com/gorhill/uBlock.git
Improve `googlesyndication_adsbygoogle.js` scriptlet
Related discussion: https://github.com/uBlockOrigin/uBlock-discussions/discussions/321#discussioncomment-11000356
This commit is contained in:
parent
a793d693b5
commit
f645e8f0d2
|
@ -38,7 +38,9 @@
|
||||||
const cfr = document.createElement('iframe');
|
const cfr = document.createElement('iframe');
|
||||||
cfr.id = `google_ads_frame${i}`;
|
cfr.id = `google_ads_frame${i}`;
|
||||||
fr.appendChild(cfr);
|
fr.appendChild(cfr);
|
||||||
phs[i].appendChild(fr);
|
const ph = phs[i];
|
||||||
|
ph.appendChild(fr);
|
||||||
|
ph.setAttribute('data-adsbygoogle-status', 'done');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
if (
|
if (
|
||||||
|
|
Loading…
Reference in New Issue