if(document.location.href.search('.appspot.') == -1){ }