Let's say I'm on a https://www.example.com
. Can I alter address bar URL
to display https://www.google.com
while I'm in https://www.example.com
website using JavaScript
?
ex:
I'm on https://www.example.com
website, But what if I wanna display different URL like http://www.google.com
in the address bar? Is it possible?
Just asking based on learning purpose about the information security.