简体   繁体   中英

How to catch click event on a link in a new window object displaying google seach result

How to catch click event on a link from a new window object displaying google search result for the below query string.

<script>
    window.open("https://www.google.co.in/?#q=education+engineering");
<script>

I am using jsp, javascript, html for my code

It is not possible to catch an event in a different window. The JavaScript environment and DOM in that other window is sandboxed for security reasons.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM