문제

Is possible read the browser history with Javascript? If the answer is Yes, how can I do it? I want to read it and save it in a JS variable.

도움이 되었습니까?

해결책

No. Other sites visited by a user are their business, not the business of every website they visit. Browsers do not expose that information to web sites.

Browsers go to pretty serious lengths to plug anything that could leak a user's history to websites

다른 팁

In general history is protected by the browser against javascript accessing it except through back and forward functionality.

Source From : Access my entire browsing history via Javascript

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top