How to Stop Website Requests for Location

This is macOS 10.12.6 and Safari 11.1.

Frequently when accessing a website new to me, I am presented with this dialog:

enter image description here

In System Preferences > Security & Privacy > Privacy, the checkbox for Safari is unchecked, presumably blocking this sort of request...but they keep appearing.

Is there another setting I've missed (perhaps in Safari preferences), or some other way to block these Location requests or to mandate a default "Don't Allow?" I think this could be done by turning off Location Services entirely, but then I'd lose "Find My Mac" which I'd like to retain.


Solution 1:

In Safari 11.1 Preferences > Websites > Location. Bottom right of the window, change "When visiting other websites:" select Deny. This will block all websites and you can white list specific sites in the above list.

You can also right click the address bar and select "Settings for this website" to get to the same options.