By default, Firefox asks if you wish to share your location with a website. The article mentions using Firefox. Unless he has found a way to bypass the query (which is possible), then the user would need to consent to send their location.
Still, you can always disable it:
http://www.mozilla.com/en-GB/firefox/geolocation/