Question

I noticed that certain web pages do highlight the words I googled for.

Example: Try searching for "virtualbox" and go to the VirtualBox page. Now "virtualbox" is highlighted on that page.

I want to do the same on my page. How can I know the words the user was searching for?

Was it helpful?

Solution

You check referrer and parse out the words. Most likely there will even be javascript functions for doing that.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top