blob: 6492a05358e6c554bfbc5f88be69ebc599eaedc2 [file] [log] [blame]
<html>
<head>
<script>
function simulateCtrlClick(target) {
var evt = new MouseEvent("click", { "ctrlKey": true });
return target.dispatchEvent(evt);
}
function ctrlClickLink() {
simulateCtrlClick(frames[0].document.getElementById("link"));
}
</script>
</head>
<body>
<iframe srcdoc="<a href='title1.html' id='link'>link</a>"></iframe>
</body>
</html>