https://tutorial.eyehunts.com/js/get-parameter-from-url-javascript-example-code/
Get parameter from URL JavaScript | Example code