Welcome, Guest. Please login or register.

Login with username, password and session length
 

Author Topic: Is it Sabotage?  (Read 178 times)

paulvonscott

  • Member
  • CALL-ME-KENNETH!
  • *****
  • Posts: 10675
    • View Profile
Is it Sabotage?
« on: 13 June, 2002, 08:15:28 PM »
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

  • 2000AD Creator
  • Bionic Fingers
  • *****
  • Posts: 8772
    • View Profile
    • Twitter
Re: Is it Sabotage?
« Reply #1 on: 13 June, 2002, 08:17:51 PM »
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

  • Administrator
  • Battle Hardened War Robot
  • *****
  • Posts: 4282
    • View Profile
    • OSCar Central
Re: Is it Sabotage?
« Reply #2 on: 13 June, 2002, 10:57:34 PM »
I've just added some code which should allow a, b, i and img tags but remove everything else.

Hopefully...

Wake

ukdane

  • Global Moderator
  • Battle Hardened War Robot
  • *****
  • Posts: 4425
    • View Profile
Re: Is it Sabotage?
« Reply #3 on: 13 June, 2002, 11:24:45 PM »
That was a cool speccy game, although Sabotage 2 was better. :)
Cheers

-Daney



Art

  • 2000AD Creator
  • Bionic Fingers
  • *****
  • Posts: 8772
    • View Profile
    • Twitter
Re: Is it Sabotage?
« Reply #4 on: 14 June, 2002, 12:06:02 AM »
Good stuff!

ART

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

paulvonscott

  • Member
  • CALL-ME-KENNETH!
  • *****
  • Posts: 10675
    • View Profile
Re: Is it Sabotage?
« Reply #5 on: 14 June, 2002, 02:04:50 AM »
Aha!  It was all in the name of science, discovery and exploration.

What better cause can there be?

Art

  • 2000AD Creator
  • Bionic Fingers
  • *****
  • Posts: 8772
    • View Profile
    • Twitter
Re: Is it Sabotage?
« Reply #6 on: 16 June, 2002, 06:41:09 PM »
"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

  • Member
  • CALL-ME-KENNETH!
  • *****
  • Posts: 11689
    • View Profile
Re: Is it Sabotage?
« Reply #7 on: 16 June, 2002, 08:10:15 PM »
"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

  • 2000AD Creator
  • Bionic Fingers
  • *****
  • Posts: 8772
    • View Profile
    • Twitter
Re: Is it Sabotage?
« Reply #8 on: 16 June, 2002, 08:32:14 PM »
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.