DeObMail-Talk

Summary: Discussion of DeObMail
Maintainer: Petko

This is a talk page for improving DeObMail.


Without javascript it looks like this...

   mailto:example [snail] example [period] com

I think it would be more clear, if the "mailto:" part was replaceable, too,
and could take a space, after " : ".
For example...

   E-mail Address: example [snail] example [period] com

nikos? October 25, 2014, at 05:19 PM


Well, it doesn't seem to work with Simple skin. The html output, towards the end is...

        <div id="footer" style="border: 1px none #000;">
            <div id="copyright">
        etc, etc...

nikos? October 25, 2014, at 05:10 PM

See the first note about the skin in the "Notes" section in the documentation. --Petko October 25, 2014, at 06:05 PM


This is fantastic, it passes all my tests, thank goodness there is a working email obfusticator at last. Well done

simon August 22, 2009, at 02:57 AM

Note that what you call "existing obfustication" ( @ . replaced with &#64; &#46; in the page source, your examples 14-15) is not further obfuscated by DeObMail but passed as is, which gives "poor encoding" results at the harvester. --Petko August 22, 2009, at 06:13 AM

Agreed, in my wikis I have a lot of "existing obfustication" (it worked well 5+ years ago) and I don't want to have to change all existing mail links, so I needed a recipe that would work with those old links (as this one does). simon August 23, 2009, at 04:00 PM

With the new version, released today, you can define custom strings to be replaced before the processing.
  $DeObCustom['&#64;'] = '@';
  $DeObCustom['&#46;'] = '.'; # optional
  include_once("$FarmD/cookbook/deobmail.php");

This will "normalize" your emails before the obfuscation, and they will be well hidden. --Petko August 23, 2009, at 06:02 PM

Perfect, thanks again, Simon September 09, 2009, at 03:27 PM


I tried to use it: But simply the display is not correct. Looks like the JavaScritp part is not loaded. I use pmWiki 2.2.14. Any ideas? Klonk March 05, 2010, at 09:10 AM

If the demo page works for you, check if your skin has the marker <!--HTMLFooter--> which should appear near the bottom of the file, right before </body></html> . Otherwise check if your browser allows JavaScript. --Petko March 05, 2010, at 09:49 AM

Thanks exactly <!--HTMLFooter--> was missing im my template (flexi Skin). I corrected that and now it works fine (I corrected also flexi Skin) Klonk March 05, 2010, at 11:30 AM

  • This DeObMail recipe appears not only to be useful, but is also accessible as well. Users without JavaScript enabled can finally decipher your email and with enough administrator creativity, bots will get lost. For example, you can make user@example.com appear as user.obfuscated.example@com. Tautrimas November 23, 2009, at 03:06 PM

Talk page for the DeObMail recipe (users).