Click to See Complete Forum and Search --> : Disabling all javascript commands


druss
03-12-2003, 01:29 AM
I wanted to know if there is a way to disable javascript in a particular frame??
if this is not possible then how do you disable alert boxes from showing up, so far i have been able to remove popups with this code:
function window.open() {return true;}


Thanks
Goran

khalidali63
03-12-2003, 07:58 AM
why don't you disable JavaScript from you browsers?


Cheeers

khalid

AdamBrill
03-12-2003, 08:09 AM
I don't think you can make it so no JavaScript will work, but you can get rid of alerts the same way. Like this:

function alert(){return true;}

I hope that helps...