How to stop Windows Store from opening automatically in Chrome or Firefox

Stop Windows Store from opening automatically in Chrome/Firefox

user_pref("network.protocol-handler.external.ms-windows-store",  false);