What is it about the word "one" that made it disappear when it was "between" the <>s?
It was to stop people putting mischeivous JavaScript into things like links.
You can put
onmouseover="alert('bite me!')"
into a link tag and it will pop up an alert every time the mouse goes over it, for instance.
So the code is "remove any word inside a tag starting with 'on'"
What about the
t center
thing?
So the code is "remove any word inside a tag starting with 'on'"
So, just curious, what did you do to change it? Make it "starting with 'onm'"?
Make it "starting with 'onm'"?
Or I could have made it start with just "om" and it would have been BuddhaScript instead of JavaScript.
No, we just delete it, so their code will just have:
alert('biteme')
in it, which won't do anything.
It's possible it will make some browsers confused, but I don't think so. Browsers just tend to ignore attributes they don't understand.
What if someone tries to link to test ontario link (www.lisgar.on.ca).
Okay -- good. Works.
Checking to see if the .on. within a link would be deleted.
Well only "on" with at least one alphabetic character after it counts, and it has to be preceded by whitespace too.
Trust me, this was easier than me trying to decipher the regexp.
Posting issues this morning. It's occasionally hanging when I hit post, and giving me a "this page cannot be displayed" error. I noticed earlier that a couple of people mentioned having posts eaten around the same time.
Further details if I can think of them.