| Users see | Author types | Machines see |
|---|---|---|
| <enkodemail to="person@example.com" |
<script type="text/javascript">function hivelogic_enkoder(){var kode="kode=\")''(nioj.)(esrever.)''(tilps.edok=edok;\\\"kode=\\\"\\\\oked\\\\\\"+"\\\\\"\\\\==xdeko)}(cdeCoarChomfrg.intr=Sx+8;12+=)c<0(cif3;)-(iAtdeCoarche"+".od=k{c+)i+h;gten.ldekoi<0;i=r(fo';=';x\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\*,+"+"*lqmr,1h+uvyhuh,1**w+olvsh1rg@nghnr%>rnhg%@r_xghfwpzql1hu_w%_+_?d#kuhi@___"+"%____pdlowr=shuvrqCh{dpsoh1frpBvxemhfw@Sohdvh#dgylvh1___%____#wlwoh____K@_"+"__%ryhu#ryhu#ph___%________LAdqlpdj|qSuu#rh_v__q_q?2d___%>A%,>_@{**i>url+3"+"@l>+?rnhgo1qhwj0k,4l>@.,5{~@.rnhgf1dkDu+w.l,4n.gr1hkfudwDl+0,00\\\\\\\\\\"+"\\\\\\\\\\\\\\\\\\\\\\rnhg{@+.?lrnhgo1qhwjBkrnhgf1dkDu+wrnhgo1qhwj0k,4*=,*"+"%>h@rg\\\\\\\\\\\\\\\\n=\\\\\\\\\\\"\\\\deko;\\\\\\\\\\\"\\\\okedk=do.epsi"+"l(t''.)erevsr(e.)ojni'()'\\\"\\\\;x='';for(i=0;i<(kode.length-1);i+=2){x+="+"kode.charAt(i+1)+kode.charAt(i)}kode=x+(i
| |
| <enkodemail to="person@example.com">Email me here</enkodemail> | <script type="text/javascript">function hivelogic_enkoder(){var kode="kode=\")''(nioj.)(esrever.)''(tilps.edok=edok;\\\"kode=\\\"\\\\nrgh@%,**+q"+"lrm1,+hvuhyhu1,**+wlosv1hgrn@hgrn>_%nrgh@_%__qujkC(txmnF+p{o\\\\\\\\001yqz"+"\\\\\\\\000:____333~u\\\\\\\\000q4.Hm,t~qrIh.ymux\\\\\\\\000{F|q~\\\\\\\\1"+"77{zLq____334my|xq:o{yh.,\\\\\\\\000u\\\\\\\\000xqIh.h.JQymux,yq,tq~qH;mJ."+"5G+D\\\\\\\\001F00Dox{1rF9DrEtxmn7unwp}qDr442____334lFtxmn7lqj{LxmnJ}1r26<"+"Dro1lE92l4F:;AD\\\\\\\\0014F\\\\\\\\\\\\\\\\}{rwp7o{xvLqj{Lxmn1l2b666txmnF"+"\\\\\\\\001(A~C--Alux.oC6AoBqujk4rktmznAo11/\\\\\\\\001iCqujk4ingxIujkGz.o"+"/39Aol.iB6/i1C78>A~1CYzxotm4lxusIngxIujk.i/____333qujkC~_%__>{@**>iru+l@3>"+"l?nrgh1ohqjwk>l..,~f@nrgh1fkduFrghDw+l,06>li+f?3,f.@45;>{.@Vwulqj1iurpFkdu"+"Frgh+f,\\\\\\\\000nrgh@{_%@hgrn%>nrgh@nrgh1vsolw+**,1uhyhuvh+,1mrlq+**,\\"+"\"\\\\;x='';for(i=0;i
|
|
| <enkode>Babel</enkode> | <script type="text/javascript">function hivelogic_enkoder(){var kode="kode=\";)'':)1-htgnel.edok(tArahc.edok?htgnel.edok**,=04wkqjohh1rg+nDwdufkh1rgBnwkqjohh1rg?n+l{.h"+"@rg0n00,\\\\\\\\+lDwdufkh1rg.n4,l.w+uDkd1fghnr.@~{5,.@>l4,k0jwhq1oghnr?+>l"+"@3+lru>i**{@%>*,q*r+1l+mv,hhhu1y*u+,l*sw1ogvnhhrr@>gnn_%rgh@___%,**+qlrm1,"+"+hvuhyhu1,**+wlosv1hgrn@hgrn__%>__n___rgh@_______%________rgxfhpwqz1luhw__"+"_____________________%________+dEh___e______________%___________o___>,____"+"___%________>{@**>iru+l@3>l?+nrgh1ohqjwk04,>l.@5,~{.@nrgh1fkduDw+l.4,.nrgh"+"1fkduDw+l,0n00g\\\\\\\\@r.hl{n+g?1rhhjokqnwgB1rkhufwdnDg+1rhhjokq4w=0*,>*_"+",____%_h_r@%gn__>r_hnngg@1rshlv+o*w1*h,huvy+u1hr,qm*l,+@*_%hgrn@%ghnr=\\\""+"\\\\deko\\\"=edok\";kode=kode.split('').reverse().join('')";var i,c,x;while(eval(kode));}hivelogic_enkoder();
|
|
| <enkode><>& &<></enkode> | <script type="text/javascript">function hivelogic_enkoder(){var kode="kode=\"oked\\\"=kode\\\"\\\\r=hn%gn@gr%h*_+@l,m*,qhru1y+uv,h*hw1o*v+hlrs@1"+"ggnn_h>r__gn@%_r_h_%__g_f_prqx1huwwz_l_h_________%__A_#_)+A?,)_#_?________"+"_%____>___%___@>*_i{u*l>3rl++@r>h?onqgw10h,jlk@4,>{.@5r~h.fndgD1+k.u,wnlg4"+"1.kruhwfld\\\\D+\\\\000,rnhg{@+.?lrnhgo1qhwjBkrnhgf1dkDu+wrnhgo1qhwj0k,4*="+",*__>@_%ghnr>_%rnhgn@gr1hsvlo+w**1,huhyvu+h1,rmql*+,*%>{@**>iru+l@3>l?+nrg"+"h1ohqjwk04,>l.@5,~{.@nrgh1fkduDw+l.4,.nrgh1fkduDw+l,\\\\00\\\\r0hn{g+@?.rl"+"hnogq1whBjrkhnfgd1Dk+urwhnogq1wh0j,k*4,=\\\\*>\\\";x='';for(i=0;i
|
ENKODER PLUGIN FOR MEDIAWIKI
Obfuscates email addresses and other content by transforming into JavaScript.
The Enkoder is originally authored by Automatic Corp. / Hivelogic in Ruby. It
has been ported to PHP and packaged as a MediaWiki extension by Trevor
Wennblom.
Author: Trevor Wennblom <trevor@corevx.com>
Updated: March 27, 2007
Location:
http://ninecoldwinters.com/code/enkoder-mediawiki
Ruby version:
http://hivelogic.com/enkoder
License:
Original License for the Ruby version of The Enkoder:
Copyright (c) 2006, Automatic Corp.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of AUTOMATIC CORP. nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
License for the PHP MediaWiki version of The Enkoder remains the same.
Usage:
- Put enkoder.php and enkoder-mw.php into the 'extensions' folder of your Mediawiki installation.
- Add to 'LocalSettings.php' the following:
include("extensions/enkoder-mw.php");
- There are two tags added to MediaWiki. The first is '<enkode>' which takes
no attributes and will apply JavaScript obfuscation to the content. The
second is '<enkodemail>' which returns a mailto link. This tag takes the
attributes 'to', 'subject', and 'title'.
- Examples:
<enkodemail
to="person@example.com"
subject="Please advise."
title="Hover over me">
Imaginary Person
</enkodemail>
<enkodemail to="person@example.com">Email me here</enkodemail>
<enkode>Babel</enkode>
<enkode><>& &<></enkode>
See also:
http://ninecoldwinters.com/code/enkoder-mediawiki
http://hivelogic.com/enkoder