HTML browser URL tag does not change

How to change the browser URL on a website using a structure <frame>. I know that the whole point <frame>is to use inline frames so that you cannot determine where the site is going. In particular, when you click on a link, the frame changes, but the URL at the top of the browser says the same thing.

I am trying to make the browser CHANGE the URL, so the real URL of the main internal frame is always displayed. How can i do this?

+3
source share
2 answers

You can not; It is best to change the fragment using JavaScript, for example. window.location.hash = 'whatever'.

JavaScript, frame src.

+1

Source: https://habr.com/ru/post/1796708/


All Articles