Files
enviPy-bayer/static/js/ketcher3/standalone/index.html
jebus 31c57299e4 [Feature] Ketcher V3 (#427)
Co-authored-by: Tim Lorsbach <tim@lorsba.ch>
Reviewed-on: enviPath/enviPy#427
2026-07-17 08:16:09 +12:00

38 lines
1.3 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="theme-color" content="#000000"/>
<meta name="description" content="Ketcher is a web-based chemical structure editor"/>
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico"/>
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png"/>
<link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png"/>
<link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png"/>
<link rel="manifest" href="./manifest.json"/>
<title>Ketcher v3.17.0</title>
<script defer="defer" src="./static/js/main.cb80d824.js"></script>
<link href="./static/css/main.9cca8bc6.css" rel="stylesheet">
</head>
<body>
<script>
// Block Ketcher grabbing focus on load
const _origFocus = HTMLElement.prototype.focus;
let _blockFocus = true;
HTMLElement.prototype.focus = function(...args) {
if (!_blockFocus) {
_origFocus.apply(this, args);
}
};
// Re-enable focus after Ketcher has initialized
window.addEventListener("load", function () {
setTimeout(() => { _blockFocus = false; }, 500);
});
</script>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>