OLD | NEW |
---|---|
(Empty) | |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <script> | |
5 window.name = "main_contents"; | |
6 function simulateClick(anchor_name, properties) { | |
7 var evt = new MouseEvent("click", properties); | |
8 | |
9 target = document.getElementById(anchor_name); | |
10 return target.dispatchEvent(evt); | |
11 } | |
12 </script> | |
13 </head> | |
14 <body> | |
15 This page helps testing shift-clicking or ctrl-clicking an anchor/link | |
16 that points to the same site. See also https://crbug.com/238156. | |
17 <hr> | |
18 <a href="/title1.html" | |
19 id="test-anchor-no-target">Test link to click while holding ctrl key</a> | |
Łukasz Anforowicz
2017/02/09 16:53:01
Charlie was pointing out that another interesting
alexmos
2017/02/09 22:58:36
Interesting, so ctrl-click on <a target="_blank">
Łukasz Anforowicz
2017/02/10 00:38:18
Yes, the new window/tab has:
- same process
- same
Łukasz Anforowicz
2017/02/10 01:13:50
BTW: I am trying to address the target=_blank case
| |
20 </body> | |
21 </html> | |
OLD | NEW |