Ver originalvar urll = top.location; if (urll.indexOf("battlefield")!=-1){ alert("está");}else (urll.indexOf("battlefield")==-1){ alert("no está"); }