Dzung Nguyen
Dzung Nguyen

Reputation: 67

How to check the user enter a address URL on browser and click on a bookmark?

As title,

I want to get event when the user enter a URL on browser and the user click a URl on bookmark by javascript.

How to?

Thanks.

Upvotes: 1

Views: 656

Answers (1)

Praveen Kumar Purushothaman
Praveen Kumar Purushothaman

Reputation: 167172

Not possible. Period.

Reason: Both do not generate referrers. If a link has been clicked from somewhere, it would be possible to determine using the document.referrer.

This same page, clicked from the list of questions in jQuery:

This same page, entered by copy paste or by bookmark:

Upvotes: 3

Related Questions