In Firefox mobile, would it be possible to add a new site permission to allow/block deep links per site? With such site permission, when a Website tries to open up a deep link, Firefox would ask: Allow / Allow once / Block. Granted permission could be managed in Firefox settings, like the other existing site permissions.
Reason behind, a compromised Website (e.g., Bluetooth which is still compromised at the time of writing *) might trigger double redirection and the second redirection could make use of a deep link to switch from Firefox app to any other app (e.g., in current case, it tries some times, based on the context, to switch to Google Chrome app).
* Malicious code that can be found, at least, where the code starts with: ontouchstart='eval(String.fromCharCode(... and further: onmouseenter=\"eval(String.fromCharCode(...