Dapatkan URL Halaman tanpa Params di JavaScript
window.location.href.split('?')[0];
Yousef Qaoud
window.location.href.split('?')[0];