All'apertura di un pop up con mozilla mi dice

Deprecated method document.getSelection() called. Please use window.getSelection() instead.

il problema è che non uso document.getSelection() !

il codice:

onclick="window.open('rules.php','Rules','width=40 0,height=400,resizable=1,scrollbars=1');"