-1

Is there a written script for this that if you have a link URL and someone visit it, it will not save to users browser history? Or is this impossible?

Any suggestion or opinion about this?

Note: To moderators, let me know please if this is ok, or else i will delete this.

Topic Closed: Ok, i figured out that this is not possible. "There is no clear method for the history object. The browser history belongs to the user, you can't remove anything from it."

NB: Thank you to all your feedbacks! I appreciate it.

iMarkDesigns
  • 1,200
  • 2
  • 14
  • 32
  • This is okay, its a really good question though.. –  Feb 04 '16 at 20:32
  • I think this is possible.to look for your domain in the browser history with a php script, then if it equals to over 1 it will delete it.. then this process will be when the visitor leave and visit the website in each file... –  Feb 04 '16 at 20:34
  • 1
    Directly, I'm pretty sure it's impossible. Indirectly, you could load the page through a proxy (or an `iframe` if the URL doesn't block access). – Josh Crozier Feb 04 '16 at 20:36
  • 1
    messing wit hthe user like this is never a good idea –  Feb 04 '16 at 20:38
  • 1
    If the user wants no “permanent record” of them visiting your site, then they should use private browsing mode. As for doing this “from the outside”, you hiding it from the visitors themselves – I can’t possibly imagine a single none-shady application for this. – CBroe Feb 04 '16 at 20:51

1 Answers1

1

Its not possible to clear user history without plugins . And also it not the issue at developers perspective , its the burden of the user to clear his history.

The same applies to editing or altering the information stored as well.

For information refer How to clear browsers (IE, Firefox, Opera, Chrome) history using JavaScript or Java except from browser itself?

Community
  • 1
  • 1
Derek Pollard
  • 6,953
  • 6
  • 39
  • 59