Find page url with JS

by andyjh07

JavaScript

var URL = location.pathname.split("/");
if ( URL.length > 0 && URL[1] == "Look" ) { 
    alert(URL[1]);
    $('#card-logos').hide();
}