Forum Moderators: open

Message Too Old, No Replies

Strange HTML Rendering Problem

some hyperlinks somehow get commented out

         

expat123

9:22 pm on May 9, 2004 (gmt 0)

10+ Year Member



Hello all,

After a recent change, some of my web site users have reported that portions of my pages are no longer visible. (The pages are very close to the HTML 4.01 standard.)

After looking at the HTML source viewed by users, I discovered that the hyper-links - the <a href> tag - some how becomes commented out on the users' browser!

For example, the html file on the disk has the following link, which is correct:
<p><a href='/ads/97602.html'>house for rent wanted</a>

However in the user's browser the link somehow becomes commented out!:
<p><!--ref='/ads/97602.html' house for rent wanted -->

It only happens for links beginning with "/ads/" which was the change I made to the pages. When I went back to my previous directory, the link appears for everyone!

Could it be the browser is commenting out this code for security reasons? Could it be virus checking program that comments out hyper-links it thinks are suspicious. Is there something magic about a link to a directory called "/ads/"? It is very strange. Any ideas?

Users with Microsoft IE have reported the problem, not sure the version.

Thanks.

jamesa

9:55 pm on May 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



My guess is he's running an ad blocker.

tedster

9:58 pm on May 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check with those users about what kins of so-called "spam protection" they use - which often includes heavy handed ad filtering of all kinds. There are ISP based products and also third party products that automatically remove ads - and yes, the directory name "ads" has a kind of negative magic.

encyclo

10:04 pm on May 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You'll probably find that all of them are using Norton Internet Security 2003 or 2004.

The solution? Never use "ad", "ads" or such like as directory names. A reasonably complete list of "banned" directory names here [webpagesthatsuck.com].

jatar_k

10:18 pm on May 9, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I had a similar problem recently that someone, in their grand wisdom, had named an image directory "banners" and all images in that were being blocked with some users.

I merely swapped the directory name and changed the src urls and everything was fine.

expat123

3:03 am on May 10, 2004 (gmt 0)

10+ Year Member



Hi all,

Norton Internet Security was the culprit. Thanks everyone for your help.