title: Chrome Extension: How can I show the find bar and supply text for it?
body: <p>I am making an extension that stores the selected text from the currently active webpage into localstorage, then when the user click on this selected text in my extension's popup, the extension will fire chrome.tabs.create and open the website where the selected text was selected. These functions work, but I don't know how to trigger the 'find' function when the new tab opens. I want the newly created tab to highly the selected text that my extension stored. I think there are two ways to do this...</p>
  
  <ol>
  <li><p>somehow trigger the 'find' function that the browser by default has. The one with 'Ctrl+F" or 'Command+F" triggers and insert the selected text in there</p></li>
  <li><p>edit the HTML of the newly created page by highlighting the selected text.</p></li>
  </ol>
  
  
  
  <pre><code>new_source = { "url" : tab[0].url, "title" : tab[0].title, "quote" : selectedQuote, "id" : idSource};
  sources.push(new_source);
  localStorage["sources"] = JSON.stringify(sources);
  </code></pre>
  
  <p>This is how I'm storing my information</p>