git/noctun/main

fixing coop enforcement - test 1

diff --git a/index.html b/index.html
index 9c785a4..d4c8ff4 100644
--- a/index.html
+++ b/index.html
@@ -442,7 +442,13 @@
}
}
if (!searchExecuted && queuedLinks.length > 0) {
- queuedLinks.forEach(q => window.open(q.data.url, '_blank', 'noopener,noreferrer'));
+ queuedLinks.forEach(q => {
+ const link = document.createElement('a');
+ link.href = q.data.url;
+ link.target = '_blank';
+ link.rel = 'noopener noreferrer';
+ link.click();
+ });
searchExecuted = true;
}
if (!searchExecuted && !/^\s*\d+[a-z\s]*(\s*,\s*\d*[a-z\s]*)*\s*$/.test(val)) {