<script language="javascript"> // this will hold a function var mousehandling;
// my class function Point(x, y) { this.x = x this.y = y }
switch(navigator.appName) { // lame browser detection case "Microsoft Internet Explorer": mousehandling = IE; break; case "Netscape": mousehandling = NS6MOZ; break;
}
function MouseDown(pt, id) { what to do when a mouse button is pressed alert("x:" + pt.x + " y:" + pt.y + " id:" + id);
}
function NS6MOZ () { // netscape mozilla's way of handling mouse events window.captureEvents( Event.MOUSEDOWN );
// onmousedown is a built in function of Window, but let's redefine it window.onmousedown = function (ev) { var id = ""; if (ev.target.nodeName=="#text") id = ev.target.parentNode.id else id = ev.target.id
MouseDown(new Point(ev.pageX, ev.pageY), id); } }
function IE() { // I.E's way // onmousedown is a built in function of Document, but let's redefine it document.onmousedown = function () { var we = window.event; MouseDown(new Point(we.x, we.y), we.srcElement.id); }
}
//okay lets set up our mouse handling mousehandling()
// In my application I was setting the mouse handling across frames // so I was using parent.frames.main.document & parent.frames.main.window
you can code round different browsers by implementing a common API for your applications and let your library do the platform specific work
I've done plenty of intranet javascipt applications, one of which is an HTML email composer. It uses DHTML to drag and resize the html elements around. It works like Quark, you draw a square and type in the text.
Itagaki: Of course the creators of DOOM and Half-Life -- that was their intention. That's how they want the users to enjoy playing their game, and I have no problem with that.
If I recall correctly DOOM wasn't made with mods in mind. Stuff like "make the mobs into pac-man" were hacks similar to the DOA-Volleyball stuff. Some time and effort went into.WAD hacking and soon iD cottoned on and went with it.
The guy is really out of touch with gamers. We were peeking and poking and hexediting games back in the 8bit days and no doubt even Spacewars had some people fiddling with the binary to make themselves invulnerable or something.
I love the nude hacks for DOA, more stupidity added on to a stupid game.
A sends mail to B B gets SoBig B send virus mail to C from A
In your scheme A is seen as the virus sender, subsequently deserving whatever he gets.
The only headers you can trust in SMTP mail are the ones your MX adds. These are usually the IP address of the machine making the SMTP connection to your MX. This IP won't necessarily be the IP address of the originator as mail, like other traffic, is routed.
The SoBig-F email virus is the latest in a series of SoBig email viruses.
They are probably timed to self destruct for a few reasons, I'll speculate at them:
1. infected machines stop acting crazy without being patched 2. people relax again once "it's all over" and in a few months re: Your Application becomes "safe to open" 3. if the code doesn't quite work then it will only be for a fixed term 4. ??? 5. nooooooo
still running inetd?
I have a friend that runs linux, the only skill he needed was to burn a CD using Nero and reboot.
He doesn't know a kernel from a koffice
1)It is not dependant on any one company or cash flow(or ANY cashflow at all)
It is dependent on one person committing the changes, anything else just isn't Linux
2) fair comment, doesn't stop it being vulnerable
3) if this was true there would be no root
This isn't quite a demonstration of polymorphism at work but it does show one approach to cross platform design
: :
<div style="width:500px; background:red;" id="red">Red</div>
<div style="width:500px; background:green;" id="green">Green</div>
<script language="javascript">
// this will hold a function
var mousehandling;
// my class
function Point(x, y) {
this.x = x
this.y = y
}
switch(navigator.appName) {
// lame browser detection
case "Microsoft Internet Explorer"
mousehandling = IE;
break;
case "Netscape"
mousehandling = NS6MOZ;
break;
}
function MouseDown(pt, id) {
what to do when a mouse button is pressed
alert("x:" + pt.x + " y:" + pt.y + " id:" + id);
}
function NS6MOZ () {
// netscape mozilla's way of handling mouse events
window.captureEvents( Event.MOUSEDOWN );
// onmousedown is a built in function of Window, but let's redefine it
window.onmousedown = function (ev) {
var id = "";
if (ev.target.nodeName=="#text")
id = ev.target.parentNode.id
else
id = ev.target.id
MouseDown(new Point(ev.pageX, ev.pageY), id);
}
}
function IE() {
// I.E's way
// onmousedown is a built in function of Document, but let's redefine it
document.onmousedown = function () {
var we = window.event;
MouseDown(new Point(we.x, we.y), we.srcElement.id);
}
}
//okay lets set up our mouse handling
mousehandling()
// In my application I was setting the mouse handling across frames
// so I was using parent.frames.main.document & parent.frames.main.window
</script>
and a water dispenser
8) I know, I realised that when I saw submit come back
hmm maybe if I say, "lusers drink milk so they need the link" wll that do?
javascript is polymorphic
you can code round different browsers by implementing a common API for your applications and let your library do the platform specific work
I've done plenty of intranet javascipt applications, one of which is an HTML email composer.
It uses DHTML to drag and resize the html elements around. It works like Quark, you draw a square and type in the text.
hyperlinks are for lusers
ah, thanks, I was too lazy to check
gosh, windows is bloated you say
why not add some comments to your slashdot journal about which options you removed, I'm sure we'd all be fascinated.
I'm getting a bit bored of this
Itagaki: Of course the creators of DOOM and Half-Life -- that was their intention. That's how they want the users to enjoy playing their game, and I have no problem with that.
.WAD hacking and soon iD cottoned on and went with it.
If I recall correctly DOOM wasn't made with mods in mind. Stuff like "make the mobs into pac-man" were hacks similar to the DOA-Volleyball stuff. Some time and effort went into
The guy is really out of touch with gamers. We were peeking and poking and hexediting games back in the 8bit days and no doubt even Spacewars had some people fiddling with the binary to make themselves invulnerable or something.
I love the nude hacks for DOA, more stupidity added on to a stupid game.
when C++ is your hammer, everything looks like a thumb
I'm glad I didn't use slashdot tradition and use it as an excuse to insult you as well
yeah, i forgot that one, i got bored of concentrating for so long
gnumeric is annoyingly slow on my dual 1ghz with 720Mb RAM
hehe none of the others were me
the register explains the lack of spam is being caused by clogged networks so it's not there to notice
How many people ever put their message in an attachment and say "please see the attachment for details".
.. Send .. and a new mail pops up with the Word Document as an attachment and a blank e-mail body.
You don't know many people who use Word as their email composer.
File
I had to train my people away from that one.
A sends mail to B
B gets SoBig
B send virus mail to C from A
In your scheme A is seen as the virus sender, subsequently deserving whatever he gets.
The only headers you can trust in SMTP mail are the ones your MX adds. These are usually the IP address of the machine making the SMTP connection to your MX. This IP won't necessarily be the IP address of the originator as mail, like other traffic, is routed.
This isn't the first SoBig.
The people making them are experimenting.
"so it will just grow back again then doctor?"
The SoBig-F email virus is the latest in a series of SoBig email viruses.
:
They are probably timed to self destruct for a few reasons, I'll speculate at them
1. infected machines stop acting crazy without being patched
2. people relax again once "it's all over" and in a few months re: Your Application becomes "safe to open"
3. if the code doesn't quite work then it will only be for a fixed term
4. ???
5. nooooooo
fucktard is my word of the day
I, for one, welcome our new Japanese overlords!