I've been playing around with selectors and XPath expressions, so I wrote $('element::text()). After error I tried this one:
$('element text()') After that my Firefox stalled (without even "unresponsive script" warning) and I couldn't do anything except killing it. The problem is that unknown functions like sometext() in selector causes never-ending loop somewhere (I know, professional description ;)). I don't know if it's that important to do checkpoint on, but I wanted to share it with you.