mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-10-29 10:30:35 -04:00
committed by
GitHub
parent
3a289e30aa
commit
732e07e30d
@@ -413,9 +413,9 @@ function initializeWhenReady(document) {
|
|||||||
if (isBlacklisted()) {
|
if (isBlacklisted()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
window.onload = () => {
|
window.addEventListener('load', () => {
|
||||||
initializeNow(window.document);
|
initializeNow(window.document);
|
||||||
};
|
});
|
||||||
if (document) {
|
if (document) {
|
||||||
if (document.readyState === "complete") {
|
if (document.readyState === "complete") {
|
||||||
initializeNow(document);
|
initializeNow(document);
|
||||||
|
|||||||
Reference in New Issue
Block a user