Hallo!

Hier http://www.bad-neighborhood.com/emailhashing.php kann man ein Javascript erstellen lassen, welches die e-mail-Adresse verschleiert, um diese in eine Website zu integrieren.

Ich habe diesen Code erstellen lassen, der auf Websites funktioniert (getestet):

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<span id="phtestlink1"></span>
 
<script type="text/javascript" language="Javascript">
var erp = new Array;
erp[0] = 2004184166;
erp[1] = 1719222377;
erp[2] = 1768500589;
erp[3] = 1634298926;
erp[4] = 1684356670;
erp[5] = 1044134972;
erp[6] = 1697475937;
erp[7] = 1768697163;
erp[8] = 1869509729;
erp[9] = 1802772589;
erp[10] = 1769218135;
erp[11] = 1970038374;
erp[12] = 121;
var em = '';
var tmp;
for(i=0;i<erp.length;i++){
    tmp = erp[i];
    if(Math.floor((tmp/Math.pow(256,3)))>0){
        em += String.fromCharCode(Math.floor((tmp/Math.pow(256,3))));
    };
    tmp = tmp - (Math.floor((tmp/Math.pow(256,3))) * Math.pow(256,3));
    if(Math.floor((tmp/Math.pow(256,2)))>0){
        em += String.fromCharCode(Math.floor((tmp/Math.pow(256,2))));
    };
    tmp = tmp - (Math.floor((tmp/Math.pow(256,2))) * Math.pow(256,2));
    if(Math.floor((tmp/Math.pow(256,1)))>0){
        em += String.fromCharCode(Math.floor((tmp/Math.pow(256,1))));
    };
    tmp = tmp - (Math.floor((tmp/Math.pow(256,1))) * Math.pow(256,1));
    if(Math.floor((tmp/Math.pow(256,0)))>0){
        em += String.fromCharCode(Math.floor((tmp/Math.pow(256,0))));
    };
};
var tmp = new Array;
tmp = em.split('>>><<<');
em = tmp[0];
var an = tmp[1];
var nl = document.createElement('a');
nl.setAttribute('id', 'testlink1');
nl.setAttribute('href', 'mailto:' + em);
document.getElementById('phtestlink1').appendChild(nl);
document.getElementById('testlink1').innerHTML = an;
</script>
<noscript>We're sorry, but Javascript must be enabled in order to access our email.</noscript>

Nur im Google Blogger in einem HTML/JavaScript-Fenster nicht. Es wird nichts im Blog angezeigt.

Ich teste schon seit Stunden, aber finde einfach nichts.

Idee?

Gruß,
Wulffy