Originally Posted by
Zach_the_Lizard
I don't think it'd be so horrible if he's looking for, say, a specific tag, such as <ul>. It's certainly doable, considering Webkit and Gecko are written in C++, and they have to do far more than simply read in what amounts to XML.
Code:
<script>
var foo = "HTML is so easy to parse <ul>";
</script>
<!-- In fact <ul> it's ridiculously simple. -->
<pre>
It's not like <ul> the syntax is particularly complex.
</pre>
(Oh, and I encoded the whole thing in Shift-JIS)