Put these in your user prefs.js file on Firefox:
user_pref("dom.battery.enabled", false);
user_pref("device.sensors.enabled", false);
user_pref("dom.vibrator.enabled", false);
user_pref("dom.enable_performance", false);
user_pref("dom.network.enabled", false);
user_pref("toolkit.metrics.ping.enabled", false);
user_pref("dom.gamepad.enabled", false);
Here's my full firefox config currently:
https://up1.ca/#nUSA1WtY13ECfmYC5c825w
Privacy on the web keeps getting harder and harder. Of course this should only be used in conjunction with maxed out ad blockers, anti-anti-adblockers, privacy badger and disconnect.
We need browsers to start asking permission. When you install an app on Android or iOS it says "here's what it's going to use, do you want this?". The mere presence of the popup would annoy people and prevent them from using these APIs.