Javascript Words Change on Their Own
Hello. I'm new here, and I hope you can solve this mystery.
My web pages include words as links. About 1 in 1,000 people cannot
see the words that are used as links. They don't even see a large
space as if the words were simply the same color as the background.
And, the people I've asked say that they are using a relatively new
browser version; some say Netscape, and some say Internet Explorer. I
just received an email asking about the missing words, only this man
included a copy of part of my web page as he sees it - missing the
words. Through view source I can see that words on his version were
changed. My real page includes onmouseover in the html code. His
page includes onfiltered instead of mouseover.
The real page is at http://www.lacetoleather.com/sinusinfection.html, but that doesn't show the problem - http://www.lacetoleather.com/test.html does.
Since 999 out of 1,000 can see my pages just fine - both in Netscape
and Internet Explorer, I think the problem is not on my end (so please don't critique all my code - I actually think it is pretty good since I'm new at this). Why would some computer systems change the words, and how can I prevent it from happening?
Thanks
Lace to Leather (topics from Victorian decorating to dog training)
nike_guy_man posted this at 23:26 — 31st August 2002.
They have: 840 posts
Joined: Sep 2000
Javascript is Case sensitive...right?
onMouseOver is not the same as onmouseover
Suzanne posted this at 00:00 — 1st September 2002.
She has: 5,507 posts
Joined: Feb 2000
not for html attributes.
Busy posted this at 00:02 — 1st September 2002.
He has: 6,151 posts
Joined: May 2001
try take out the first "return true"
or another way is:
The cause could also be pop up killers, not sure how they work but they do target javascript, and what your doing with your links is prime killer stuff
Suzanne posted this at 00:08 — 1st September 2002.
She has: 5,507 posts
Joined: Feb 2000
You asked us not to talk about the code, but that's part of the problem -- you have missing table cell closing tags and some other minor errors (see Busy's post). A DOCTYPE in the middle of the document, and tags in the middle of the document, et cetera.
Whether you think it's pretty good or not, it's wrong.
As for not displaying, the more valid your code is (but there are exceptions, of course) the less likely you are to have phantom errors.
Now, about fixing that code...
w3c.org has online validators. I recommend you walk through them and fix it up and see if that resolves the problems, or if you find something odd in there.
For instance, xbody and xmeta...
Suzanne
Suzanne posted this at 00:28 — 1st September 2002.
She has: 5,507 posts
Joined: Feb 2000
Q: why are you using onfiltered in the first place? Is it a function? It doesn't appear to be a valid event handler.
leather posted this at 00:39 — 1st September 2002.
They have: 3 posts
Joined: Aug 2002
Suzanne,
You're looking at the "test" page. What I did there was throw in a copy of the man's email - when I copied it in, Yahoo Mail included its own code. I was just trying to include from on so what I copied didn't fall apart when it went onto the page. This was just so you guys could see that the words were missing and hopefully see why.
Honestly, I have tested some of my web pages. But, I have about 160 and not enough time. So I do already know that most of my pages have lots of errors. If you had found the same errors in my real page as you did in the test page, I would want to know. That would be important to me. What happened is that I asked my question at usenet and people there only wanted to talk about regular code problems but nothing that had to do with the question.
I know it is not perfect, but please look at the real page instead (http://www.lacetoleather.com/sinusinfection.html) and to get a better picture of my work.
Thanks
Lace to Leather (topics from Victorian decorating to dog training)
leather posted this at 00:44 — 1st September 2002.
They have: 3 posts
Joined: Aug 2002
I didn't use onfiltered at all - I used onmouseover. That's the problem, what made the code change itself to onfiltered - and for some users only?
Lace to Leather (topics from Victorian decorating to dog training)
nike_guy_man posted this at 00:49 — 1st September 2002.
They have: 840 posts
Joined: Sep 2000
The way he explains it, onfiltered shows up 1 in 1000 times... so something is making a browser read it differently
Do we know what browser the people who get the alternate are using?
nike_guy_man posted this at 01:01 — 1st September 2002.
They have: 840 posts
Joined: Sep 2000
Your meta tags are different even:
<META name="description" content="">
<META name="keywords" content="">
<META name="generator" content="CuteHTML">
<xmeta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<xmeta content="MSHTML 5.50.4807.2300" name=GENERATOR>
xmeta?
You also have xbody in the second one...
I'm more server side scripting... so I'm not sure if this makes that much of a difference
Suzanne posted this at 06:13 — 1st September 2002.
She has: 5,507 posts
Joined: Feb 2000
Okay, thanks for the better explanation. What's happening is that when some people view your page, things are showing up in the code that shouldn't.
What is happening is the page is going through a filter (logically) and that filter is removing fake-looking links. So it's removing things that mask, act like spam, are popups, et cetera.
This filter could be through a firewall, or a special network -- you really need to find out what's in common with the people who cannot view it. There must be a common thread, it can't be random. If it's not the Operating System, and it's not the browsers, it's the firewall or internal network that is doing the filtering.
Since it's clearly a filter (onfilter could be an internal "function" that marks the links as edited), there isn't anything YOU can do other than not use tricks on your links.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.