簡體   English   中英

如何在Internet Explorer彈出窗口中打開小書簽

[英]How to open bookmarklet in Internet explorer popup window

我已經為Internet Explorer開發了Bookmarklet。 當用戶在主瀏覽器頁面上加載它時,它可以正常工作。 問題是,它在應用程序的彈出窗口中不起作用。

我的大多數用戶在彈出窗口中打開主頁內的鏈接,但小書簽是從“收藏夾”窗口觸發的。

小書簽鏈接在彈出窗口中不起作用。

有辦法實現嗎?

嘗試使用下面的代碼可能有助於解決您的問題。

 <!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> 

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM