Comment #2 on issue 6888 by phistuck: Better address bar handling of  
javascript: (+etc.) URLs
http://code.google.com/p/chromium/issues/detail?id=6888

Wow, it took me a long time to get back to this bug.
I would like to refer you to something that works in IE and does not work  
in Chrome.
Go to this URL -
http://www.kdror.co.il/general/2006/p2006/
Click on one of the pictures.
You will see the picture and a back button at the bottom of it (Hebrew,  
though, sorry).
Click in will go back to the page before the page that got you into this  
picture.
I guess it means that executing this JavaScript code which creates a new  
page (it
seems, since it deletes the current view), does not trigger a new  
navigational entry and
thus, making the back button 'skip' the former view and go back to two  
navigational
entries before.

This is the script -
<script>function showpic(a) {document.write('<img src="'+a+'"><br><br><a
href=javascript:history.back()>חזור</a>')}</script>

I have not tested it in FireFox, but I guess this behavior should persist  
across browsers.


Thank you!

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to