Is there a way to search browser history in JS?

Good afternoon dear experts, I've come across an urgent need to search at your browser history, scoured the Internet plainly found nothing.
Maybe someone knows weaknesses-how can this be done? The only criterion is that the entry needs to check the history on a site, and then depending on the response actions.
I am very grateful to all for the replies.
June 10th 19 at 14:23
2 answers
June 10th 19 at 14:25
No. Don't you think that thereby you are violating privacy?
On the one hand it is, but when you consider the goal, then I only need to check whether a user is a user on one of my resources, it is certainly possible to do this using cookies, but then began to wonder whether it is possible to rotate through the browser history - viviane.Schuppe78 commented on June 10th 19 at 14:28
hmm, and I wonder you do not go on a website with porn, or with prostitutes, is it okay if I in history you look? Well, or look at the private key in the url to some service to your paid? - lily.Kozey commented on June 10th 19 at 14:31
well Yes I agree if you use in order to know something to know it is unnecessary.
And most likely already GET private keys where little is transmitted.
Yes zaglyadyvaet for porn is incognito mode XD - viviane.Schuppe78 commented on June 10th 19 at 14:34
, that is, with the noble goals of privacy can violate? - Pedro65 commented on June 10th 19 at 14:37
Okay I understand your position, I dig in and Google:) - viviane.Schuppe78 commented on June 10th 19 at 14:40
June 10th 19 at 14:27 is about the history of the browser.
If Your website wants to check their presence/absence in the history browser, you can use a cookie.

Find more questions by tags BrowsersJavaScript