JQuery bekommen aktuelle URL
var currentURL = $(location).attr('href'); //jQuery solution
var currentURL = window.location.href; // raw javascript
Grepper
var currentURL = $(location).attr('href'); //jQuery solution
var currentURL = window.location.href; // raw javascript
var pathname = window.location.pathname;