Whenever I use the javascript alert() function, there is always some form of text above the message. I believe it is different for every browser.
- Chrome displays “Javascript Alert”
- Safari displays “Javascript” (shown below)
- iOS Safari displays the website URL.
Is there any way to suppress this? I just want my alert() to say: “Alert Text”. To be honest, I don’t even know where to start (I have little/no Javascript experience) so I haven’t tried anything yet. If anyone could point me in the right direction, I would really appreciate it.
alert("Alert Text");

No, it’s there as a security measure so that the end user knows the browser itself isn’t sending the message, but rather the developer of some script.
…that said, there’s nothing stopping you from creating a custom alert that looks very similar to the browser alert.