nextclade
nextclade copied to clipboard
Warn users about about incompatibility with adblockers and Brave browser
We had issues with adblocker browser extensions and Brave browser breaking Nextclade. Privacy protection features don't treat Nextclade's client-side computation model well.
Nextclade performs a lot of calculations in the browser, and uses WebWorkers and WebAssembly, the technologies that adblockers don't like. They may break features and make Nextclade to consume more memory.
I was not able to start analysis in Brave on Android - it crashes with out of memory error. Also related: https://github.com/nextstrain/nextclade/issues/438
Perhaps we can warn Brave users that their browser is not supported and to recommend them to use a Chromium-based browser or Firefox.
We could detect Brave using this API and display a reactstrap alert or a popup dialog. Detecting adblockers though is harder and, as they are built to specifically avoid detction.
Popups should not interfere with "What's new" dialog.
Also, this might be controversial, as Nextclade is built with privacy in mind. We don't track users or send data to a server (we don't have any server). So using browser and adblocker detection (basically fingerprinting) goes somewhat against this idea.
Perhaps we can warn Brave users that their browser is not supported and to recommend them to use a Chromium-based browser or Firefox.
Brave is Chromium based. It basically just has an in-built adblocker called Brave shields enabled by default.
The solution could potentially be as simple as switching that off.
I don't think there is a strong use case on mobile at the moment (who has sequences lying around on their device?)
As a first step, we could put a message into the error pop-up saying that adblockers etc might be responsible for errors.
I just screenshot on mobile because I was typing on mobile. The shield is the same on desktop.
I agree that mobile is the least of our worries at the moment.
@ivan-aksamentov is this issue mobile only? I'm not sure, I just wanted to clarify Brave intricacies.
@corneliusroemer No, this is about any browser incompatibilities that we might to warn users about
Good! Just wanted to clarify because I felt there was a potential misunderstanding here between us 3.