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

JavaScript alert title header - Stack Overflow

programmeradmin0浏览0评论

I want to change JavaScript alert title header from displaying Internet Explorer to another name. is a way to do it?

I found these site in the net:

How to edit a JavaScript alert box title?

Which say that there is no solution. Is it true there are no other way?

I want to change JavaScript alert title header from displaying Internet Explorer to another name. is a way to do it?

I found these site in the net:

http://bytes./topic/javascript/answers/148721-change-title-bar-javascript-alert-box

How to edit a JavaScript alert box title?

Which say that there is no solution. Is it true there are no other way?

Share Improve this question edited May 23, 2017 at 12:01 CommunityBot 11 silver badge asked May 26, 2010 at 1:33 user329394user329394 1612 gold badges4 silver badges7 bronze badges 2
  • 1 You can always create your custom alert box. – Secko Commented May 26, 2010 at 1:54
  • dear Secko..custom alert box? what's that? can i get more info? i do know how to get window popup by using window.open, but that window doesnot look like alert box...thx – user329394 Commented May 27, 2010 at 5:59
Add a ment  | 

3 Answers 3

Reset to default 2

Yes, I confirm that. There is no way.

There seems to be a solution for IE using client-side VBScript, but I wouldn't really remend that path.

Actually, I wouldn't remend using the alert() function altogether.

In my opinion, popping up an alert dialog [and blocking input to the main browser window] is sort of annoying.

It's more appealing to the user if you just stick a div in the middle of the screen. Plus, it's more style-able...

You can't change the title of alert boxes in javascript. Its browser Property. But you can use Jquery custom Dialogue Boxes instead.

发布评论

评论列表(0)

  1. 暂无评论