Safari: NodeFilter workaround without spoofing?

Discussion in 'Javascript' started by spamtrap@adsignum.com, May 9, 2008.

  1. Guest

    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
    , May 9, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Aaron

    html referrer spoofing

    Aaron, Jan 25, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    5,958
    Chris Jackson
    Jan 26, 2004
  2. CW
    Replies:
    1
    Views:
    496
    John Saunders
    May 3, 2004
  3. Hugo
    Replies:
    5
    Views:
    2,122
    Mark Space
    Jun 5, 2008
  4. Mufasa
    Replies:
    4
    Views:
    749
    Mufasa
    Sep 19, 2008
  5. Patient Guy
    Replies:
    1
    Views:
    125
    Martin Honnen
    Jul 26, 2006
Loading...

Share This Page