Added patch to WRY for ipc connector

This commit is contained in:
2026-06-10 16:26:09 -04:00
parent 7614061e95
commit 5a41aee20e
5 changed files with 96 additions and 21 deletions
+2 -7
View File
@@ -1,12 +1,7 @@
(function() {
const originalOpen = window.open;
var originalOpen = window.open;
window.open = function(url) {
if (url && url.toString().includes('helpalert.html')) {
document.documentElement.innerHTML =
'<head><style>*{margin:0;padding:0}html,body{height:100%;overflow:hidden}iframe{width:100%;height:100%;border:none}</style></head>' +
'<body><iframe src="https://helpalert.wvumedicine.org/PinPoint/helpalert.html"></iframe></body>';
return null;
}
if (url) { window.location.href = url; return null; }
return originalOpen.apply(this, arguments);
};
})();