What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-22 10:56:03
get actual url in variable
var currentLocation = window.location; Add solution -
-
Javascript 2021-09-19 10:54:02
typescript read url parameters
// get all search params (including ?) const queryString = window.location.search; // it will look like this: ?product=shirt&color=blue&newuser&size=m // parse the query string's paramters const urlParams = new URLSearchParams(queryString); ... Add solution
Best helpers
Ranking is empty