Closed porst17 closed 6 years ago
If location.href points to Chrome's default error page data:text/html,chromewebdata, the library is not loaded. This solution may not be optimal, but there doesn't seem to be a better way to check for such errors in a preload script.
location.href
data:text/html,chromewebdata
If
location.href
points to Chrome's default error pagedata:text/html,chromewebdata
, the library is not loaded. This solution may not be optimal, but there doesn't seem to be a better way to check for such errors in a preload script.