The problem is this. I want to play with the history object via js, but the browser does not allow it to do without the domain name (same-origin policy), that is, it is impossible to open the file from the explorer.
But JetBrains products provide a cool opportunity by clicking the "show in browser" button to create something with the server and open it. Only here except for this page there is nothing.
That is the project structure:
- page.html - scripts.js I click page.html -> to show in the browser, everything is fine, but I try to open script.js I get 404. Is there a way to solve this? And the opportunity is convenient ...
http://localhost:63342/project-name/scripts.jsthis URL in the address bar of the browser? - lena