The last time i checked this is not possible for the confirm JS function Here are some possible alternatives: -creating your own custom popup layer(dhtml) to emulate confirm-dialog that does the same thing and including the script into all your pages -just pop-up a new 'small' browser window to do the confirm