Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Web Requests while typing url

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.

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..

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.

like image 819
Ryan Mann Avatar asked Jan 19 '15 08:01

Ryan Mann


People also ask

How do I disable Cors in Chrome?

Resolution. In Google Chrome, you can easily disable the same-origin policy of Chrome by running Chrome with the following command: [your-path-to-chrome-installation-dir]\chrome.exe --disable-web-security --user-data-dir . Make sure that all instances of Chrome are closed before you run the command.

What is the correct Google URL?

The location of a webpage or file on the Internet. Some of Google's URLs include www.google.com, adwords.googleblog.com, and http://www.google.com/intl/en/privacy.


2 Answers

Under Settings -> Security and Privacy -> Cookies and other site data (or by typing chrome://settings/cookies?search=Security+and+Privacy into the address bar and hitting "Enter" key), uncheck the following:

Preload pages for faster browsing and searching

Preloads pages that Chrome thinks you might visit. To do this, Chrome may use cookies, if you allow cookies, and may encrypt and send pages through Google to hide your identity from sites.

Additionally (to disable the "prediction service"), under Settings -> You and Google -> Sync and Google services (or by typing chrome://settings/syncSetup?search=autocomplete into the address bar and hitting "Enter" key), uncheck the below (ref):

Autocomplete searches and URLs

Sends some cookies and searches from the address bar and search box to your default search engine.

like image 62
Chris Avatar answered Sep 18 '22 06:09

Chris


Under the privacy settings (Settings -> show advanced settings... -> Privacy) in Chrome (Version 46.0.2490.80 m) uncheck these two settings:

  • Use a prediction service to help complete searches and URLs typed in the address bar or the app launcher search box
  • Prefetch resources to load pages more quickly
like image 24
Paul Trott Avatar answered Sep 17 '22 06:09

Paul Trott