How do I make Chrome forget a "no" to geolocation on a site?

Solution 1:

  • Click the Chrome menu Chrome menu on the browser toolbar.

  • Select Settings.

  • Click Show advanced settings.

  • In the "Privacy" section, click Content settings.

  • In the dialog that appears, scroll down to the "Location" section.

  • Click Manage exceptions.

Source: http://support.google.com/chrome/bin/answer.py?hl=en&answer=142065

Also be sure to check all other Privacy and Content settings for default behavior.

Solution 2:

You can probably just change your setting by clicking the site icon:

enter image description here

Solution 3:

If previous answers don't solve your problem, is possible you were using Chrome 50+ on a HTTP not secure domain. This article explains why Chrome fails while detecting geolocation and how to detect when this is happening: https://developers.google.com/web/updates/2016/04/geolocation-on-secure-contexts-only

navigator.geolocation.getCurrentPosition(function(success) { /* Do some magic. */ },
  function(failure) {
    if(failure.message.indexOf("Only secure origins are allowed") == 0) {
      // Chrome 50+, no HTTP domain.
    }
  };
});