Tired of recursive DOM traversal headaches? Check out the DOM TreeWalker API! This powerful tool lets you efficiently navigate the DOM, filtering nodes as you go. It's perfect for tasks like finding specific text nodes or elements, highlighting content, or even building Chrome extensions. I've included a simple example of how to use TreeWalker to find and linkify Twitter usernames on a page. Give it a try and see how much easier DOM manipulation can be!
This post explores how to access and iterate through a user's Internet Explorer Favorites in C#. I've included C# code that retrieves the Favorites directory and recursively iterates through its folders and files. The code also parses the .URL files to extract the actual URLs. Currently, the code doesn't retrieve the friendly name displayed in the Favorites menu (e.g., "Microsoft" instead of "www.microsoft.com"), but I'm looking into using IShellLink for this and would appreciate any insights.