zoukankan      html  css  js  c++  java
  • IE浏览器假死解决办法

         一直使用的ie浏览器,最近360总是提示flash需要更新,果断更新后,发现浏览器总是出现假死,十分崩溃,都有换浏览器的冲动。后来在网上查了很多方法,依然无效。最后找到一个方法,成功解决啦。其实原因是网页上有大量用flash制作的动画,在打开网页时,Flash插件会向 macromedia.(被Adobe收购)公司提交自己的版本号,并请求更新。但是咱们断网了,他还要不停的请求。所以导致IE出现假死的现象。

    解决方法:

    打开C:\WINDOWS\system32\drivers\etc下的hosts 文件。(c盘为我自己的系统盘,你根据自己的情况来找相应的位置)用记事本打开这个hosts文件,会看到如下所示:

    # Copyright (c) 1993-1999 Microsoft Corp.
    
    #
    
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    
    #
    
    # This file contains the mappings of IP addresses to host names. Each
    
    # entry should be kept on an individual line. The IP address should
    
    # be placed in the first column followed by the corresponding host name.
    
    # The IP address and the host name should be separated by at least one
    
    # space.
    
    #
    
    # Additionally, comments (such as these) may be inserted on individual
    
    # lines or following the machine name denoted by a '#' symbol.
    
    #
    
    # For example:
    
    #
    
    #      102.54.94.97     rhino.acme.com          # source server
    
    #       38.25.63.10     x.acme.com              # x client host
    
    127.0.0.1       localhost
    
    

    重点是在上面的这句话的下方再加上一行

    127.0.0.1 fpdownload2.macromedia.com

    保存即可,重新启动浏览器,就可以解决ie假死的问题了!

        在上面加这行的意思是把站点定位到一个没有用的地址去。凡是有flash的页面全部都会自动更新。我截获的地址是  fpdownload2.macromedia.com的,不排除老版本使用其他的网址。

    注意:由于该文件修改的是系统关键部位,请允许杀毒软件和360的通过,否则将修改失败!

  • 相关阅读:
    如何更专业的使用Chrome开发者工具
    Javascript中的Object对象
    【leetcode】 Remove Duplicates from Sorted List
    Windows上x86程序正常但x64程序崩溃问题
    Microsoft source-code annotation language (SAL) 相关
    Visual Studio 2013 编译CEF步骤
    C++中调用Python脚本
    MFCButton Memory leak(内存泄露问题)
    快速排序
    插入排序
  • 原文地址:https://www.cnblogs.com/cdxkyz/p/ie_jiasi.html
Copyright © 2011-2022 走看看