mirror of
https://gitlab.com/SukkaW/ruleset.skk.moe.git
synced 2026-04-19 10:24:27 +00:00
deploy: ac2f5d56a97822e02ad28100510bfc6925dc6b07
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
const init = () => {
|
||||
window.adsbygoogle = {
|
||||
loaded: true,
|
||||
push: function () {
|
||||
push() {
|
||||
}
|
||||
};
|
||||
const phs = document.querySelectorAll('.adsbygoogle');
|
||||
@@ -21,11 +22,11 @@
|
||||
}
|
||||
};
|
||||
if (
|
||||
document.querySelectorAll('.adsbygoogle').length === 0 &&
|
||||
document.readyState === 'loading'
|
||||
document.querySelectorAll('.adsbygoogle').length === 0
|
||||
&& document.readyState === 'loading'
|
||||
) {
|
||||
window.addEventListener('DOMContentLoaded', init, { once: true });
|
||||
} else {
|
||||
init();
|
||||
}
|
||||
})();
|
||||
}());
|
||||
|
||||
Reference in New Issue
Block a user