Partager via


WebView Magic Tricks: Highlight a Search Term

WebView continues to be a hot topic in the Windows Store Apps forums.  The ability to bring in web content and manipulate it as you wish is a strong desire for many developers.  With this blog post, I am starting a series of short videos which demonstrates some simple techniques to make the WebView content more interesting.

Today's topic is how to highlight search terms in any page which you load into a WebView by injecting and invoking custom-written JavaScript from your C# application.  Source code is attached to this post.  Enjoy!

If you enjoyed this video, please check out our other videos (more coming soon!) at our YouTube channel and be sure to follow us on Twitter @wsdevsol

 

 

 

WebViewHighlightWords.zip

Comments

  • Anonymous
    July 29, 2013
    nice