top.frames[0].window._canRefresh = false;
top.frames[1].window._canRefresh = false;
top.frames[...].window._canRefresh = false;

per tutti i frames!