Package Details: whatsapp-nativefier 2.2337.7-1

Git Clone URL: https://aur.archlinux.org/whatsapp-nativefier.git (read-only, click to copy)
Package Base: whatsapp-nativefier
Description: WhatsApp desktop built with nativefier (electron)
Upstream URL: https://web.whatsapp.com
Licenses: custom
Submitter: frealgagu
Maintainer: frealgagu
Last Packager: frealgagu
Votes: 135
Popularity: 1.08
First Submitted: 2018-12-14 22:30 (UTC)
Last Updated: 2023-09-08 19:25 (UTC)

Pinned Comments

matejdro commented on 2023-10-06 04:51 (UTC)

Warning to all existing users: Nativefier is now unmaintained (https://github.com/nativefier/nativefier/issues/1577)

frealgagu commented on 2020-12-05 22:39 (UTC)

I maintain the latest built package at:

https://github.com/frealgagu/archlinux.whatsapp-nativefier/releases/

saulocastelo commented on 2020-03-29 10:46 (UTC)

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());

Latest Comments

« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 16 .. 26 Next › Last »

aquilarubra commented on 2020-08-17 08:25 (UTC)

I solved the Google Chrome 49+ error with:
sudo ln -s /usr/bin/chromium /usr/bin/chrome
This in case you don't have Chrome, but Chromium, which I think is for most users.

je-vv commented on 2020-08-12 18:08 (UTC) (edited on 2020-08-12 21:10 (UTC) by je-vv)

@aarestu, where should one place that piece of code, so that it becomes persisten?

capoeira commented on 2020-08-12 12:57 (UTC)

first time I get "WhatsApp works with Google Chrome 49+" on this and qtWaw at the same time

aarestu commented on 2020-08-12 03:33 (UTC)

function recheck () {
        if (document.querySelector("a[href='https://support.google.com/chrome/answer/95414']")) {
                console.log("reload");
                navigator.serviceWorker.getRegistration().then((registration) => {
                        registration.unregister();
                        document.location.reload();
                });
        }
        setTimeout(recheck, 5000); // callback

}
recheck();

this workaround worked for me

lockeanarchist commented on 2020-08-12 02:34 (UTC) (edited on 2020-08-12 02:34 (UTC) by lockeanarchist)

Created a package to disable the tray in whatsapp-nativefier

https://aur.archlinux.org/packages/whatsapp-nativefier-notray-hook/

omertuc commented on 2020-07-29 09:21 (UTC) (edited on 2020-07-29 10:41 (UTC) by omertuc)

For some reason it looks like the whatsapp-nativefier-inject.js script doesn't do its job.

For now, this is a workaround:

  • Press ctrl + shift + i
  • Follow the instructions in the pinned comment OR Paste this in the console (these are the contents of the injected script):
if (document.querySelector("a[href='https://support.google.com/chrome/answer/95414']")) {
        navigator.serviceWorker.getRegistration().then((registration) => {
            registration.unregister();
            document.location.reload();
        });
    }

irvelervel commented on 2020-07-29 07:22 (UTC)

I can confirm the chrome update message.

dries007 commented on 2020-07-29 07:13 (UTC)

I suspect some magic is needed to get this working again. After the last update (today) I get a notification that a chrome update is required.

"WhatsApp works with Google Chrome 49+" "To use WhatsApp, update Crome or use ..."

stefnix commented on 2020-07-29 00:26 (UTC)

There's a message that says WhatsApp works with Google Chrome 49+

matejdro commented on 2020-07-27 05:17 (UTC) (edited on 2020-07-27 05:30 (UTC) by matejdro)

Build seems to fail with the following error:

ls: cannot access '/var/tmp/pamac-build-matejd/whatsapp-nativefier/src/07:15': No such file or directory

sed: can't read /var/tmp/pamac-build-matejd/whatsapp-nativefier/src/07:15/resources/app/lib/preload.js: No such file or directory

Weirldy enough, it seems to be building in folder that has the same name than current time?

EDIT: I've examined PKGBUILD and script seems to be parsing exactly eight column ot the ls -l output. This is fine in most cases, but in my system is joined into domain, so it has additional column next to user and group. So, 8th column is the current time, while 9th column is actually the name of the folder.