最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Remove 'Webpage Dialog' from 'showModalDialog' window using jQuery or javascript - Stack Overflo

programmeradmin0浏览0评论

Somewhere in page, I use

onclick="window.showModalDialog("/");" .

It will show the following.

How can I remove the Webpage Dialog text from the title bar :( I am happy to use jQuery too.

Somewhere in page, I use

onclick="window.showModalDialog("http://rauf-thecoder.blogspot./");" .

It will show the following.

How can I remove the Webpage Dialog text from the title bar :( I am happy to use jQuery too.

Share Improve this question edited Nov 10, 2011 at 10:20 Rauf asked Nov 10, 2011 at 5:19 RaufRauf 12.9k23 gold badges79 silver badges128 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 4

You cannot remove it (it's kind of a visual cue to the user that they are still in a web browser) as it displays the <title> tag of the page they are on. So obviously you cannot remove it if you display a site that you do not control.

If it's your web page that you control, just pad the <title> tag with spaces, or invisible characters until it pushes "Webpage Dialog" off screen inside the title bar.

发布评论

评论列表(0)

  1. 暂无评论