How the letters turn to yellow on google chrome while searching for a text?
<p>When i hit Ctrl+F to find words in chrome all the letters with the search text becomes yellow. 
Anyone have any idea how it is done? Am just curious to know this!</p>

<p>BTW i'am searching for this is to implement a functionality like this using google extensions. Right now what am doing is finding that particular text and replace it with something like below.</p>

<pre><code>Original text: hello
Replaced text: '&lt;span style="background:yellow;"&gt;hello&lt;/span&gt;';
</code></pre>

<p>Any ideas?</p>