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):
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?
Oh yeah, I meant to mention that. You can still search for it with the internal search and it would come up still.
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
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.
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?
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.