- #1
chrisalviola
- 80
- 0
I want to remove my clients browsing history every time they access new pages from my website. is there any code, i keep searching the net and i can't find one.
Why would you want to do this?chrisalviola said:I want to remove my clients browsing history every time they access new pages from my website.
Yes, you can use the history
object in javascript to manipulate the browser's history. You can use the history.clear()
method to delete all entries in the browsing history.
No, there is no specific code in php to delete browsing history. Php is a server-side scripting language and does not have access to the client's browsing history. You can use javascript or other client-side languages to manipulate the history.
Yes, you can use the history.pushState()
method in javascript to add a new entry to the history with a specific website. You can then use the history.replaceState()
method to replace that specific entry with a different website. This effectively removes the original website from the browsing history.
No, deleting your browsing history through code will only remove the entries from the history. Cookies and cache are separate from browsing history and will not be affected.
Yes, you can use the setInterval()
method in javascript to set a timer and run a function at a specific time interval. In that function, you can use history.clear()
to delete the browsing history automatically.