Filtering request uri (e.g. window.location.href="http://ya.ru")