I'm developing a barcode scanning page for our warehouse, to enable the guys to scan in barcodes of goods coming in and out, and manage properties like dimensions and weights where they can. Since this ties in directly to our in-house CRM, we've decided to build it as a part of the CRM itself.
I've been using QuaggaJS to handle the barcode scanning, and we're only using Firefox for Android to run the scanner since Chrome has various issues with getting the back-facing camera instead of the front.
Can anyone suggest a way to stop the "Would you like to share your camera with..." on certain pages/domains? Since the page will be used quite frequently and quickly, having this pop up every single time is becoming cumbersome and I can't find any information on how to disable it.
Thanks.
You can find it under in the about:config
. Search for media.navigator
and find an option:
media.navigator.permission.disabled
change the value from false
to true
Note: Use it wisely as it introduces a security hole. This option was meant for developers.