Van icon

JAVASCRIPT URL

Links


    //URL
    var whereWeAt = window.location.href;
    var whereWeAt = window.location.hostname;
    var whereWeAt = window.location.pathname;
    var whereWeAt = window.location.hash
    
    window.location.assign("https://www.me.com");
    window.location.replace("https://www.me.com");
    window.location.reload(true);
    window.location.reload(false);
    
    history.back();
    history.forward();
    history.go(-3); //goes backward 3 pages
    history.go(2); //goes forward 2 pages

    var whereUserCameFrom = document.referrer;

    window.open();
    window.close();
    document.write();


    //BROWSER
    var monkeyWindow = window.open("monk.html", "win1", "width=420,height=380", "left=200,top=100"); // Pixels


    //BROWSER POPUPS
    var testPopUp = window.open("", "", "width=420,height=380", "left=200,top=100");
    if(testPopUp === null || typeof(testPopUp === "undefined")){
        alert("Disable popup blocker");
    }testPop.close();
    body -> onload="checkPopUpBlocker()"