G
Garrett Smith
Microsoft patched a leak issue in IE6 as IE6 SP2.
I want provide a "clean up" function to remove event listeners onunload,
but only for the known leaky version of jscript/IE.
Is it possible to detect this?
It is possible to detect versions of jscript with conditional comments:-
var isLeak/*@cc_on=(@_jscript_version<=5.6 && @_jscript_build < 8820)@*/;
if(isLeak){
// add cleanUp function onunload.
}
Garrett
I want provide a "clean up" function to remove event listeners onunload,
but only for the known leaky version of jscript/IE.
Is it possible to detect this?
It is possible to detect versions of jscript with conditional comments:-
var isLeak/*@cc_on=(@_jscript_version<=5.6 && @_jscript_build < 8820)@*/;
if(isLeak){
// add cleanUp function onunload.
}
Garrett