mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-21 09:58:45 -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