codingtcher.com
Theme Night
Home
Login

Get page url without params in javascript code example

//get page url without params in javascript
window.location.href.split('?')[0];

Related Code