mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-12 11:30:01 -04:00
Test workflow again
This commit is contained in:
parent
6c41c5be41
commit
ecfa6cc0da
1 changed files with 4 additions and 1 deletions
|
@ -275,9 +275,12 @@ xx xx
|
||||||
resolve();
|
resolve();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
const timeout = new Promise((resolve) => {
|
||||||
|
setTimeout(resolve, 10000, false);
|
||||||
|
});
|
||||||
exampleIFrame.src = url;
|
exampleIFrame.src = url;
|
||||||
exampleIFrame.style.display = 'none';
|
exampleIFrame.style.display = 'none';
|
||||||
await waitForDocument;
|
await Promise.race([waitForDocument, timeout]);
|
||||||
return result;
|
return result;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue