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