I am guessing if MicroB gets around to completely supporting HTML5, it could use the proposed geolocation API (http://dev.w3.org/geo/api/spec-source.html).
geolocation plugin for microb