使用google、firefox、360瀏覽器的過程中遇到的問題及解決辦法

1、火狐瀏覽器,無法安裝附加組件,總是提示禁止安裝未經簽名驗證的附加組件

       解決辦法:在地址欄輸入:    about:config    回車進入火狐配置,搜索xpinstall.signatures.required    雙擊將其值設置爲false即可



2、瀏覽器密碼自動填充的一個簡單解決辦法

     谷歌火狐瀏覽器可以使用js解決:

     (1)首先input輸入框加在獲得焦點的時候在變爲password輸入框,防止填充

     <input id="password" type="text" class="step-1 form-control" name="pwd" οnfοcus="this.type='password'" required autocomplete="off">

    (2)使用js在頁面加載後清空input:

<script language="javascript">
window.load = function(){
document.getElementById('username').value='';
document.getElementById('pwd').value='';
};
</script>

(3)針對360等頑固瀏覽器,在input輸入框上方加入以下代碼即可

                        <div style="display:none;">
                            <input type="text" name="username">
                            <input type="password" name="pwd">
                        </div>

3、mac下火狐瀏覽器卡死,強制結束後打不開

   執行以下命令,進入火狐瀏覽器安全模式: /Applications/Firefox.app/Contents/MacOS/firefox-bin -safe-mode

    不得不說,火狐瀏覽器安全模式好快啊。。。

     進入安全模式後排查,瀏覽出問題的點或者頁面,看終端中會有相應的錯誤輸出,找出引起問題的錯誤,分析解決即可

        一般是某個插件、flash或頁面js問題

   

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章