WordPress.org

Ready to get started?Download WordPress

Forums

Make Safe
[resolved] Correct looking code output? (3 posts)

  1. C0BALT
    Member
    Posted 2 years ago #

    Is this the correct way an email address looks when your plugin is used? To me it appears the email address is clearly viewable. I may not understand what is really going on.

    Thank-you!

    <p>
    email:
    <br>
    <script type="text/javascript">
    eval(unescape('\x64\x6f\x63\x75\x6d\x65\x6e\x74\x2e\x77\x72\x69\x74\x65\x28\x22\x3c\x61\x20\x68\x72\x65\x66\x22\x2b\x22\x3d\x27\x26\x23\x31\x30\x39\x22\x2b\x22\x3b\x26\x23\x39\x37\x3b\x69\x22\x2b\x22\x6c\x74\x6f\x26\x23\x35\x38\x22\x2b\x22\x3b\x69\x26\x23\x31\x31\x30\x22\x2b\x22\x3b\x66\x6f\x26\x23\x36\x34\x22\x2b\x22\x3b\x26\x23\x31\x31\x32\x3b\x22\x2b\x22\x26\x23\x31\x30\x35\x3b\x26\x22\x2b\x22\x23\x39\x37\x3b\x6e\x26\x23\x22\x2b\x22\x31\x31\x31\x3b\x66\x26\x23\x22\x2b\x22\x31\x31\x31\x3b\x72\x26\x23\x22\x2b\x22\x31\x31\x36\x3b\x65\x73\x26\x22\x2b\x22\x23\x31\x31\x37\x3b\x26\x23\x22\x2b\x22\x31\x31\x32\x3b\x70\x6c\x79\x22\x2b\x22\x26\x23\x34\x36\x3b\x26\x23\x22\x2b\x22\x39\x39\x3b\x26\x23\x31\x31\x22\x2b\x22\x31\x3b\x26\x23\x31\x30\x39\x22\x2b\x22\x3b\x27\x3e\x26\x23\x31\x30\x22\x2b\x22\x35\x3b\x26\x23\x31\x31\x30\x22\x2b\x22\x3b\x26\x23\x31\x30\x32\x3b\x22\x2b\x22\x26\x23\x31\x31\x31\x3b\x40\x22\x2b\x22\x26\x23\x31\x31\x32\x3b\x69\x22\x2b\x22\x26\x23\x39\x37\x3b\x6e\x6f\x22\x2b\x22\x66\x26\x23\x31\x31\x31\x3b\x22\x2b\x22\x72\x74\x65\x26\x23\x31\x31\x22\x2b\x22\x35\x3b\x75\x26\x23\x31\x31\x22\x2b\x22\x32\x3b\x70\x26\x23\x31\x30\x22\x2b\x22\x38\x3b\x79\x2e\x26\x23\x39\x22\x2b\x22\x39\x3b\x26\x23\x31\x31\x31\x22\x2b\x22\x3b\x26\x23\x31\x30\x39\x3b\x22\x2b\x22\x3c\x2f\x61\x3e\x22\x29\x3b'));
    </script>
    <a href="mailto:info@the-website-QWERTY.com">info@the-website-QWERTY.com</a>
    </p>

    Maybe you can add something like this to your FAQ to show how it should look when you "inspect it" with firebug etc.

    http://wordpress.org/extend/plugins/makesafe/

  2. mattdeclaire
    Member
    Plugin Author

    Posted 2 years ago #

    In Firebug and Chrome Dev tools, when you inspect the page, you see the current state of the dom. Which means you'll see the mailto anchor tag that has been written to the page by JavaScript. If you view the original source, you won't find the anchor tag.

  3. grosner55
    Member
    Posted 1 year ago #

    Yes, mattdeclaire is correct. When viewing the page source, the mailto information is hidden. Nice Plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags