Google Groups Home Help | Sign in
Message from discussion Safari: NodeFilter workaround without spoofing?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
spamt...@adsignum.com  
View profile
 More options May 9, 4:41 pm
Newsgroups: comp.lang.javascript
From: spamt...@adsignum.com
Date: Fri, 9 May 2008 13:41:29 -0700 (PDT)
Local: Fri, May 9 2008 4:41 pm
Subject: Safari: NodeFilter workaround without spoofing?
Hy;

I detected that the createTreeWalker-implementation in Safari returns
only white-space text-nodes on NodeFilter.SHOW_TEXT. I could spoof for
Safari to fall-back too a generic tree-walk function, but I would
prefer a non-spoofing issue-detector.
One idea would to concat the content of all walked nodes and check if
it's only whitespace and then repeat the walk. But I'd rather not like
to use that.
Anybody got a smarter idea?

Ciao
    Niels


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google