1. #1
    Sencha User
    Join Date
    Mar 2007
    Posts
    580
    Vote Rating
    0
    dolittle is an unknown quantity at this point

      0  

    Default How to change the url in the address bar with javascript?

    How to change the url in the address bar with javascript?


    Hi

    Is there a way to change the url in the address bar without affecting the browser history?
    YUI history manager uses the location.hash property but it adds the url+hash to the history.

    Attacking my problem from the other direction. Is there a way changing the url of an iframe without affecting the browser history?
    I want my iframe to show www.example1.com and then to change to www.example2.com.
    I tried location.href but the new page was added to the history.

    Thanks
    Last edited by mystix; 22 Aug 2007 at 8:43 AM. Reason: moved to Help from General

  2. #2
    Ext User
    Join Date
    Mar 2007
    Posts
    67
    Vote Rating
    0
    ApocalypseCow is on a distinguished road

      0  

    Default


    try window.location.replace instead, I believe this doesn't create a history entry.

  3. #3
    Sencha User
    Join Date
    Mar 2007
    Posts
    580
    Vote Rating
    0
    dolittle is an unknown quantity at this point

      0  

    Default


    It works

    Thanks!!!

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Posts
    1
    Vote Rating
    0
    chuvaekbal is on a distinguished road

      0  

    Default I know this style

    I know this style



    I BET YOU ARE MAKING A PHISHING WEBSITE, DON'T YOU?

  5. #5

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar