• Resolved therealgilles

    (@chamois_blanc)


    Recently, I’ve started getting a syntax error with the plugin. Below is the javascript code generated. I am not sure how the following line can be correct:

    toAppend+=String.fromCharCode(t[i]+t[i-1]);

    Thanks for any insight.

    <span id=”21e53f959564a8ad3f01d1cda370e5dd”></span><script type=”text/javascript”>
    var t=[158,-98,195,-163,267,-153,254,-152,213,-179,288,-191,296,-188,304,-193,251,-213,248,-199,248,-196,255,-217,252,-203,251,-202,261,-223,258,-209,257,-206,265,-227,262,-213,261,-208,267,-229,264,-215,264,-211,270,-232,267,-218,267,-213,272,-234,269,-220,269,-217,276,-238,273,-216,271,-212,250,-215,264,-215,269,-210,248,-213,262,-214,267,-208,246,-211,260,-211,260,-201,239,-204,253,-204,252,-193,231,-196,250,-198,257,-219,254,-205,254,-197,256,-218,253,-204,252,-203,262,-224,259,-210,258,-210,269,-231,266,-217,266,-218,277,-239,274,-225,273,-224,283,-245,280,-231,280,-227,286,-248,283,-234,282,-234,293,-255,290,-233,288,-229,267,-232,281,-231,280,-221,259,-224,273,-224,272,-213,251,-216,265,-217,270,-211,249,-214,263,-215,266,-207,245,-210,259,-211,263,-204,242,-207,256,-207,261,-202,240,-205,254,-206,258,-199,237,-202,251,-202,251,-192,230,-195,244,-195,245,-186,224,-189,241,-187,246,-208,243,-186,243,-184,222,-187,236,-187,236,-177,215,-180,229,-181,238,-179,213,-151,265,-164,267,-162,277,-161,275,-178,294,-189,300,-190,254,-135,236,-136,246,-145,260,-160,257,-136,246,-141,244,-140,256,-152,263,-151,197,-98,209,-100,160,-113,210,-148];
    var toAppend = ”;
    for (var i=1; i<t.length; i++) { toAppend+=String.fromCharCode(t[i]+t[i-1]); } document.getElementById(’21e53f959564a8ad3f01d1cda370e5dd’).innerHTML = toAppend; </script><noscript>Please enable JavaScript to see this field.</noscript>

    https://www.ads-software.com/plugins/email-obfuscate-shortcode/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter therealgilles

    (@chamois_blanc)

    The above is not what I am getting. I am getting this:

    toAppend+=String.fromCharCode(t & # 091;i & # 093;+t & # 091;i-1 & # 093;);

    I added blank spaces above, otherwise the characters get interpreted when I enter them here. Looks like some other plugin is replacing the brackets by their html character code equivalent ??

    Plugin Author Stanislav Khromov

    (@khromov)

    Hey chamois_blanc,

    That looks quite funky. Would you mind sharing the page that has this issue? If you prefer you can send it via email: stanislav -at- khromov -dot- se

    Thanks!

    Thread Starter therealgilles

    (@chamois_blanc)

    Hi Khromov,

    It looks like the culprit is the custom content shortcode plugin. Posted on that plugin support forum to alert the author.

    Thanks for getting back to me.

    Plugin Author Stanislav Khromov

    (@khromov)

    No problem chamois_blanc, hope you can find a solution!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Invalid character '#'’ is closed to new replies.