No, you can't.
It's a security/anti-phishing feature.
Answer from Pierreten on Stack OverflowVideos
Instead of “this page says” I would like to change the text to something else.
you can't. modern browsers will not allow you to change the alert for security reasons. if you need to set it for some reason, use a modal or some other way of letting the user know.
Welcome to r/HTML. When asking a question, please ensure that you list what you've tried, and provide links to example code (e.g. JSFiddle/JSBin). If you're asking for help with an error, please include the full error message and any context around it. You're unlikely to get any meaningful responses if you do not provide enough information for other users to help.
Your submission should contain the answers to the following questions, at a minimum:
-
What is it you're trying to do?
-
How far have you got?
-
What are you stuck on?
-
What have you already tried?
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.