Main Menu

Is it Sabotage?

Started by paulvonscott, 13 June, 2002, 08:15:28 PM

Previous topic - Next topic

paulvonscott

The chat room keeps coming up with a window saying 'hello' all the time.  I'm sure whoever put this in thinks it's staggeringly hilarious.  It is however just annoying as indeed I suspect the culprit is in real life.

Art

Thats my fault. I was messing about with something. It'll go away again soon, but really I should talk to Wake about making usre no one can do it again.

Wake

I've just added some code which should allow a, b, i and img tags but remove everything else.

Hopefully...

Wake

ukdane

That was a cool speccy game, although Sabotage 2 was better. :)
Cheers

-Daney



Art

Good stuff!

ART

( secretly regreting that I didn't get to make lots of cross-postings about my great scripts being online... )

paulvonscott

Aha!  It was all in the name of science, discovery and exploration.

What better cause can there be?

Art

"Aha! It was all in the name of science, discovery and exploration."

Also known as "fucking with things", and I agree with you that it is a pretty fine cause, though its the height of impoliteness to fuck about with things in a way that causes inconveniance to others, which was why I was mortified when I found my messing about was compromising peoples ability to use the chatroom.

Still, It all turned out in the end and I  up learned some stuff about PHP and string handling taht I didn't know before, so thats alright.

Trout

"learned some stuff about PHP and string handling"

I wish you computery people would translate for the hard-of-thinking.

I think I can remember what BASIC stands for, however.

- Scaly and stupid

Art

Well, I can try to explain if you want...

Here comes the science:

A string is basically any bit of text. In this context its the bit of text you type in to the little window in the chat room.

Whatever string you type in there appears in the chat when you press return. However it was previously posible to also include special commands in that string, HTML tags, which instead of just appearing would do things like change formating or run Javascript ( a language that can do things like create the "hello" pop up).

Make sense so far?

Anyway, I was messing about with that and discovered the ability to make very annoying pop ups appear each time the chat refreshed.

The solution to this is to have the chatroom check the strings each time they are submitted and remove any javascript, as a well as a few other things which could be annoying, which is what Wake has done.