Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > JavaScript > Safari: NodeFil...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 35546 of 37128
Post > Topic >>

Safari: NodeFilter workaround without spoofing?

by spamtrap@[EMAIL PROTECTED] May 9, 2008 at 01:41 PM

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
 




 1 Posts in Topic:
Safari: NodeFilter workaround without spoofing?
spamtrap@[EMAIL PROTECTED  2008-05-09 13:41:29 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 15:02:53 CDT 2008.