parse window.location.search

JavaScript

console.log(window.location.search);