@nursoda nativefier uses electron as browser, however web.whatsapp don't recognize it as an up-to-date browser. At the beginning an injector was used to avoid those warnings and bypass them. But that script is not working anymore. However you can use what saulocastelo said in order to maintain rhe configuration:
Pressing ctrl+shift+i (on Linux) and the Devtools window will open. Then click on Application -> Service Workers And check the option Bypass for network.
Now press ctrl+r to reload. And ctrl+shift+i to close the Devtools.
Whenever you open your whatsapp the problem will occur, but since the Bypass for network option has already been enabled, you only need to press ctrl+shift+i (open devtools), ctrl+r (reload), ctrl+shift+i (close devtools)
Pinned Comments
frealgagu commented on 2020-12-05 22:39
I maintain the latest built package at:
https://github.com/frealgagu/archlinux.whatsapp-nativefier/releases/
saulocastelo commented on 2020-03-29 10:46
Hey guys,
I created the original fix.
And now I share another way to use whatsapp web on nativefier. No code injection required.
Pressing ctrl+shift+i (on Linux) and the Devtools window will open. Then click on Application -> Service Workers And check the option Bypass for network.
Now press ctrl+r to reload. And ctrl+shift+i to close the Devtools.
Whenever you open your whatsapp the problem will occur, but since the Bypass for network option has already been enabled, you only need to press ctrl+shift+i (open devtools), ctrl+r (reload), ctrl+shift+i (close devtools)
@frealgagu, thanks for your work. This package was in my list as one of required apps to be installed after install Arch. I saw your last update ( document.querySelector("a[href='https://support.google.com/chrome/answer/95414']") ), NICE/GREAT/GOOD!
Another way to do the same in 2 lines: document.querySelector("a[href='https://support.google.com/chrome/answer/95414']") && navigator.serviceWorker.getRegistration().then(r => r.unregister() && document.location.reload());