2 ms·Couldn’t you take it a step further and literally just do if(!location.pathname=== mysite) alert()by ericmcer 4y agoCouldn’t you take it a step further and literally just do if(!location.pathname=== mysite) alert()