键入URL时禁用Web请求 [英] Disable Web Requests while typing url
问题描述
我正在调试在Visual Studio中运行的Web应用程序,该Web应用程序在对我的Web应用程序的每个请求中都运行的某些代码上具有一些断点.
I'm debugging a web application running in visual studio with some breakpoints on some code that runs on every request to my web application.
我发现在chrome中,当我键入主机后的网址时,它会触发对我键入的所有内容的请求...好像chrome预取了页面以使其加载得更快一样.
I find that in chrome, as I type the url past the host, it triggers a request for everything I type as I type it... As if chrome prefetches the page to make it load faster or something.
虽然非常适合浏览网页,但在调试代码时非常烦人.
While great for browsing the web, it's highly annoying when debugging code..
任何人都知道禁用的方法,我已经用几种不同的方法以及可以关闭的方法在Google上进行了搜索,但是在键入时它仍然会发出请求.
Anyone know of a way to disable, I've googled it a few different ways and what I can turn off I have, but it still makes requests as I type.
推荐答案
在 privacy 设置下( Settings->显示高级设置...-> Privacy
)中的Chrome(版本46.0.2490.80 m) 取消选中这两个设置:
Under the privacy settings (Settings -> show advanced settings... -> Privacy
) in Chrome (Version 46.0.2490.80 m)
uncheck these two settings:
- 使用预测服务来帮助完成搜索和键入的
URL
地址栏或应用启动器
搜索框 - 获取资源以更快地加载页面
这篇关于键入URL时禁用Web请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!