Javascript: how to clear history of the browser

Source: Internet
Author: User
Https://lists.latech.edu/pipermail/javascript/2002-April/003309.html

Javascript] Clear history onload =Golden trollJavascript@LaTech.edu
Tue, 2 Apr 2002 13:44:50-0800

    • Previous message: [JavaScript] Clear history onload =
    • Next message: [JavaScript] broken script!
    • Messages sorted:[Date] [thread] [subject] [author]
> From another list: I think this will work for you: <script language = "javascript1.2"> <! -- History. back ('yoururl'); // --> </SCRIPT> courtesy of IRT. orghttp: // variables and respects, Scott gahresownergolden troll four20 ventures hemp@goldentroll.comhttp: // goldentroll.com ----- original message ----- from: javascript-admin@LaTech.edu [mailto: javascript-admin@LaTech.edu] onbehalf of Mark.Drozd@walgreens.comSent: Tuesday, micron l 02,200 2 pmto: javascript@LaTech.eduS Ubject: [JavaScript] Clear history onload = does anyone have a function that will clear the history so a usercannotuse the back button to "go back" or use the address drop down (tool bar) toselect a URL where a previous user was? I have an application where new users share a computer. these new usersshocould not be able to go back to (or view) where a previous user was. iwowould like the first screen of my application to clear the history tonulleaching time that first page loaded. all of my users will be using Internet 5.0. all of our browswers are set toreload a new page each time and not cache. thanks!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.