chrome: disable internet connection or work offline

丶灬走出姿态 提交于 2021-02-05 20:16:33

问题


How can I disable internet connection or work offline like Firefox in Chrome? I need to check some errors when Internet is not available.


回答1:


offline mode is added to Chrome v45.

Developer tools -> Network tab -> Choose "offline" from selectbox.




回答2:


Offline switcher is a new handy Chrome Extension to do the job quickly. You can toogle to switch between offline and online mode.

The add-on is simple, just to set Chrome proxy to an un-existing point.




回答3:


Google chrome doesn't have this feature.

This has been requested by many users. Take a look at productforums.google.com

you can raise your request in the above link.

Refer to the latest answer: https://stackoverflow.com/a/32607960/2520254



来源:https://stackoverflow.com/questions/16806343/chrome-disable-internet-connection-or-work-offline

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!