Firefox4此頁有一項新功能→ 【創建其他對話框阻止此頁】但它也是一個麻煩我,當我希望一個警告對話框打開不止一次。 現在,一個新的問題出現了......像下面↓ 1) I call the alert dialog more than once , and check the
【Prevent this page from creating additional dialogs】
我正在編寫一個JavaScript庫,必須檢查Firefox 4或更高版本。相信我,我需要。 我打算去以下嗅探代碼: if ('MozAppearance' in document.documentElement.style) {
//We have Mozilla
if (!!window.FormData) {
//We have Firefox4+