How to make your own address from the modal window?

How to make address the modal window
type:
site.ru/modal
July 9th 19 at 10:26
1 answer
July 9th 19 at 10:28
I'd go with site.ru/page.html#modal and in the code for the analysis location.hash and open the desired modal window.
I think that your case is How to load a modal fancybox window via hash?

Find more questions by tags HTMLjQuery