Support » Plugin: Email Encoder - Protect Email Addresses » How to exclude email created with javascript to be converted

  • Hello,

    In each page load, on my entire website, I have a javascript code that display in the html code the logged user email, I need it for some purpose.

    I just saw that the plugin convert that email from javascript on the fly to a converted email.

    I do not want this behavior for that email, how can I exclude this?

    Thanks for your help,
    Best

Viewing 5 replies - 1 through 5 (of 5 total)
  • I have the same problem with Intercom chat that is broken for logged-in user because the mail is also convert on the fly from javascrip.

    Plugin Author Ironikus

    (@ironikus)

    Hi @seb06 – thank you a lot for your message!
    Can you give me some more information on how and where you call the javascript from?
    In case the email is written within a <script> tag: We only soft-encode emails within Javascript tags, which means that they only get entity-encoding so that the logic continues to work.

    Thank you already a lot. In case you have any questions, feel free to let me know. ๐Ÿ™‚

    Plugin Author Ironikus

    (@ironikus)

    Hey @kristoffer132 – can you show me an example code of how you currently implement intercom within your site?
    We normally only soft-encode emails within the script tags to keep the logic working.
    Thanks already a lot.
    Also: Please create a separate support tag for your problem so that I can give you some tailored details there (Makes our communication easier) ๐Ÿ™‚
    Let me know in case you have any questions.

    Hello, Yes the email is generated in a <script> tag but in my side should not be soft encoded, I need the email to be normal.

    How can I excluse that script from encoding?

    Best

    Plugin Author Ironikus

    (@ironikus)

    Hey @seb06 – thank you for your answer.
    I’m afraid it might not be possible to get rid of the soft encoding completely since otherwise, the site would break.

    What you can try in case the script tag is within the head section:
    1. Go to the Settings page of Email Encoder
    2. Activate the advanced settings button and click save
    3. Instead of full page-protection, choose the “WordPress Filter” option that appears.

    If this doesn’t solve your issue:
    Can you tell me a bit more about what you want to do with the email in an unencoded format? Within the code it should appear as normal as well if soft-encoding is on and javascript can process it as a real email.
    I’m happy about some more details on it.
    In case you would like to share non-public information, feel free to reach out at https://ironikus.com for more tailored support.
    Please let me know in case you have any questions. ๐Ÿ™‚

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to exclude email created with javascript to be converted’ is closed to new replies.