blob: e98c7242abc12e1c1f1d67b50927706edaac6ccc (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<meta charset="UTF-8">
Hi, I was opened via a <script>
// eslint-disable-next-line no-unsanitized/method
document.write(location.search ?
"popup call from the opened window... uh oh, that shouldn't happen!" :
"bookmarklet, and I will open a new window myself.");</script><br>
<script>
if (!location.search) {
open(location.href + "?donotopen=true", "_blank");
}
</script>
|