简体   繁体   中英

How to open bookmarklet in Internet explorer popup window

I have developed the Bookmarklet for Internet Explorer. It works fine when user load it on main browser page. The issue is, it does not work on the Pop-Up Window of the application.

Most of my users, open the link inside the main page in pop-up, but the bookmarklet is triggered from Favorite window.

The bookmarklet link is not working in pop-up window.

Is there a way to achieve this ?

Try to use code below may help to solve your issue.

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr"> <head> <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" /> <title>WhatsApp</title> </head> <body> <script type="text/javascript"> javascript:(function(){open('https://Microsoft.com/','myWindow','toolbar=yes, menubar=yes, resizable=yes, width=650,height=900,top=0,left=1270');})() </script> </body> </html> 

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