The browser platform includes the ability to use any of the Apache Cordova core plugins in your apps without disrupting your development. The level of support for them will vary depending on the type of functionality the plugin exposes. In some cases the browser version of the plugin may return mock data, and in other cases it may simply fail silently. You can take a look in the
src/browser folder of any of the core plugins to determine exactly what to expect.
For instance, take a look at the simple DeviceProxy class for the device plugin and you'll see how it uses the User Agent to determine the specific browser being used. The cordova-plugin-device-motion is one you can check out to see how it simply returns mock data. The idea is that you're able to debug your apps with some level of support for the core plugins so you're not hung up on errors as a result of not running natively.
cordova-plugin-geolocation uses an API that is already supported in Chrome, Safari and Firefox.