Feature Obfuscate BBCode...

Discussion in 'Support & Feedback' started by digitalpoint, Sep 28, 2009.

  1. #1
    If you have a string that you don't want to post, but not have search engines find or some other spider see (maybe an email address for example), you can wrap it in the obfuscate BBCode...

    http://forums.digitalpoint.com/misc.php?do=bbcode#obf

    Example:

    [obf]email@domain.com[/obf]

    Will output:



    but if you look at the source, it's done like so:

    <script type="text/javascript">document.write("em"+"ai"+"l@"+"do"+"ma"+"in"+".c"+"om");</script>
    Code (javascript):
     
    digitalpoint, Sep 28, 2009 IP
  2. MaryMary

    MaryMary Prominent Member

    Messages:
    1,982
    Likes Received:
    559
    Best Answers:
    0
    Trophy Points:
    310
    #2
    What will that do for the search feature here on DP? If I was to do a search for "email@domain.com" would it hide that from me as well? :rolleyes:
     
    MaryMary, Sep 28, 2009 IP
  3. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #3
    Oh yeah, I meant to mention that. You can still search for it with the internal search and it would come up still.
     
    digitalpoint, Sep 28, 2009 IP
    MaryMary likes this.
  4. williamsweb

    williamsweb Active Member

    Messages:
    2,016
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    75
    #4
    so its safe to post emails ?

    what's the difference of then?
     
    williamsweb, Sep 28, 2009 IP
  5. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #5
    Depends on what you define as "safe"... I wouldn't post MY email with it, but that's because I'm worried about real people emailing me all the time, not just spam bots. :)

    But yeah... anything done with the new
     
    digitalpoint, Sep 28, 2009 IP
  6. premiumscripts

    premiumscripts Peon

    Messages:
    1,062
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Well, I wouldn't use it to post emails, simply because someone could write a parser/fetcher specifically for these forums that would unobfuscate (this is not encryption..) - I guess it's use should only be for content you do not want the search engines to know about.
     
    premiumscripts, Sep 29, 2009 IP
  7. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #7
    Yeah... Certainly wasn't implying anyone should start posting emails. :)
     
    digitalpoint, Sep 29, 2009 IP
  8. Helvetii

    Helvetii Notable Member

    Messages:
    4,412
    Likes Received:
    90
    Best Answers:
    1
    Trophy Points:
    205
    #8
    So I can wrap the code around the entire post and it'll not show up in search engines? What will happen to the formatting within the tags (like bold, italic, size, etc.)? And Images?
     
    Helvetii, Sep 29, 2009 IP
  9. premiumscripts

    premiumscripts Peon

    Messages:
    1,062
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Why don't we give it a try:



    Well, the preview doesn't work for a multi line obfuscation.

    Let's try a single line:



    Yeah, other tags don't work inside of it.

     
    premiumscripts, Sep 29, 2009 IP
  10. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #10
    Oh yeah... that too. Tags are intentionally not parsed within the
     
    digitalpoint, Sep 30, 2009 IP