Click here to Skip to main content
15,889,034 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello! I need to password protect or prevent deleting history from opera browser (and any other browsers on my PC).

Is it possible? How?

Thanks
Posted

It does not make any sense. This data exists only on the client side; and the client has fool control over this data, which can be purged at any time. In contrast, your Web application cannot access or limit the user's access.

—SA
 
Share this answer
 
Hello,

To protect the privacy of the users, there are limitations to how JavaScript can access this object. Hence browsers will not allow you use methods other than those mentioned below.

  • length - Returns the number of items (URL's) in history
  • back - Loads the previous URL in history list
  • forward - Loads next URL in the history list
  • go - Loads a specific URL from history list


Regards,
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 18-Mar-13 15:57pm    
I voted 4. You see, you information looks correct and is certainly very good to know, but you don't mention the possibility to limit the access, and I feel that OP would need some help in practical conclusion.
So, I added a short answer more to the point, please see.
—SA
Prasad Khandekar 18-Mar-13 16:05pm    
Thank you sir, I will keep this thing in mind. Your helps and suggestions is always like a blessing.

Regards,
Sergey Alexandrovich Kryukov 18-Mar-13 16:14pm    
You are welcome, and thank you for your too nice words. :-)
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900