You don't do it with jQuery, because it's not a feature of the library anymore.
So you do it with another library, or yourself. All the details about browser detection and the javascript code are at Quirksmode.
But just don't do it, really. What's your use case?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…