0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING JUNE 30, 2025. Read our  Farewell Blog Post  for more info.

Email address in URL being changed to Javascript

  • Email address in URL being changed to Javascript

    Posted 16 years 2 months ago
    • Not sure if this is a function of Joomla or my template (TerranTribune)

      I have a url in one of my articles that contains an email address:
      http://www2.somewebsite.com/news.asp?news=newswc&id=news@mywebsite.com

      But the link doesn't work properly and the reason is because it is getting changed automatically to protect the email address from bots. Here is what it is being changed to:
      http://www2.somewebsite.com/news.asp?news=newswc&id=
       <script language='JavaScript' type='text/javascript'>
       <!--
       var prefix = '&#109;a' + 'i&#108;' + '&#116;o';
       var path = 'hr' + 'ef' + '=';
       var addy26922 = 'n&#101;ws' + '&#64;';
       addy26922 = addy26922 + 'jgp&#97;rk&#101;r' + '&#46;' + 'c&#111;m';
       document.write( '<a ' + path + '\'' + prefix + ':' + addy26922 + '\'>' );
       document.write( addy26922 );
       document.write( '<\/a>' );
       //-->\n </script> <script language='JavaScript' type='text/javascript'>
       <!--
       document.write( '<span style=\'display: none;\'>' );
       //-->
       </script>This e-mail address is being protected from spambots. You need JavaScript enabled to view it
       <script language='JavaScript' type='text/javascript'>
       <!--
       document.write( '</' );
       document.write( 'span>' );
       //-->
       </script>

      Is there anyway to prevent this from happening just on this one page?

      Thanks,
      Brandon
  • Re: Email address in URL being changed to Javascript

    Posted 16 years 2 months ago

Time to create page: 0.074 seconds