Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GeckoHtmlElement Elem = (GeckoHtmlElement)W.Document.GetElementById("typetext");
- string El = Elem.InnerHtml;
- foreach (char Ch in sortChars)
- {
- El = El.Replace("<span style=\"display:none;\">" + Ch.ToString() + "</span>", "");
- }
- Result = El
- .Replace("<span>", "")
- .Replace("</span>", "")
- .Replace("<span class=\"\">", "")
- .Replace("<span id=\"hightlight\">", "")
- .Replace("<span id=\"typefocus\">", "")
- .Replace("<span id=\"typefocus\" class=\"\">", "")
- .Replace("<span id=\"afterfocus\">", "")
- .Replace("<span id=\"beforefocus\">", "")
- .Replace(" ", " ");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement