Moving the recs discussion over here -- it would be possible to adapt the link code to do recommendations reasonably easily.
The current link setup is that anyone can add a link, and delete/edit links they've added. Admins can delete/edit all links and create categories.
Is there anything much different that would be needed for fic recs?
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.