some javascript

Programming, for all ages and all languages.
Post Reply
AGI1122

some javascript

Post by AGI1122 »

Alright, I have this person who has been trying to use my site as a spam relay to send spam mail via a url.

Now, I have been logging and tracking him and collecting info on him. And have found out that he uses IE6, so I had though of a plan to get a message accross to him.

First off I am going to make it do this:

Code: Select all

alert('Stop trying to access this program you silly *****.');
But, to make this more of an "experience" for him. I want it to make a new browser open to the same url. How would I do this?

I think I might make the alert a function that can be run and looped.

Sort of like this:

Code: Select all

function DoAlert() {
alert('alert text');
DoAlert();
}
Anyway, I need to know how to make a new browser automatically open up to the url of my choosing(sort of like a popup ad).

I am also thinking about putting some sort of picture on the page to discust and offend the user.

Anyway some coding and ideas on how to make an "impression" on this troublesome user would be appreciated. :)
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:some javascript

Post by distantvoices »

to open a new window in java script,:

Code: Select all

<script type="text/javascript">
<!--
F1 = window.open("datei.htm","Fenster1","width=310,height=400,left=0,top=0");
F2 = window.open("datei.htm","Fenster2","width=310,height=400,left=320,top=0");
self.focus();
self.close();
//-->
this I 've found on selfhtml.teamone.de

the more, why just not ban that d(a)mned son-of-a-b(i)tch?
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
AGI1122

Re:some javascript

Post by AGI1122 »

why just not ban that d(a)mned son-of-a-b(i)tch?
He has a random ip, I ban one... he uses another. ::)

So I thought I would take a more personal approach. ;D
Eero Ränik

Re:some javascript

Post by Eero Ränik »

Got some ideas. First, let's use no alert boxes, my idea would be that you should show message as text and put the windows move and copy themselves, and then use memory eaters on them. This will crash his computer in five seconds.
Nastier things: we should do so that when he restarts his computer after crash, we have changed few registry values, which makes his computer insane...
A bit VBS scripting... ;D
Oh, I know a good picture, which I saw when trying to access certain security hole in server lynx.uio.no (no, I won't tell why I wanted to access it). I'll watch if I can copy that one...
AGI1122

Re:some javascript

Post by AGI1122 »

Actually, I was thinking about using YaBBSE image protection picture.

Basically when someone used an image outside of the YaBBSE site, instead of seeing the image they saw a gay porn picture. ::)

Unfortunately I don't know enough VBS to really do something that nasty... although, if you can supply the code, I can use it on this user.

Remember it has to be coded to work for an IE6 user.
Eero Ränik

Re:some javascript

Post by Eero Ränik »

Soon I'll send you a private message...
AGI1122

Re:some javascript

Post by AGI1122 »

Thanks Eero, I have uploaded it... now let's see how he likes it. ;D
Eero Ränik

Re:some javascript

Post by Eero Ränik »

I found a little bug in the script... Check your private messages.
AGI1122

Re:some javascript

Post by AGI1122 »

Fixed, thanks.
Post Reply