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.04
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 .. 15 16 17 18 19 20 21 22 23 24 25 26 Next › Last »

Frikinux commented on 2019-05-13 07:10 (UTC)

@je-vv Yeap! The only way that I believe... it's that the Maintainer edit the PKGBUILD with this option.

je-vv commented on 2019-05-12 23:12 (UTC)

@Frikinux, sorry about that. I didn't remember about back then. Yes, I tried then, and I'm currently using the 1st option. I didn't like them back then because none of them is permanent, for the 1st one, I have to remember to modify the PKGBUILD when upgrading, and for the 2nd one, that json gets overwritten on upgrade as well (it gives the chance to edit it after the upgrade, but you still have to remember to do it).

Is there a way to have a ~/ config file overwriting just that parameter? Or, is there a way to make both options available through a wrapper applying the corresponding configuration? So far it's a configuration in a json file, I'm wondering if it might be an argument instead, that has precedence over the json file.

Any ways, I guess for you "start-in-tray" by default is not an option, right?

Frikinux commented on 2019-05-12 14:04 (UTC) (edited on 2019-05-12 14:08 (UTC) by Frikinux)

@je-vv On 2019-02-03 I answered this same question. Yes you can. You can not forget to put the quotes in the argument.

Before installing, modify in PKGBUILD as nativefier option: --tray "start-in-tray" \

Or... Once installed, edit the file:

/opt/whatsapp-nativefier/resources/app/nativefier.json

and change "tray":false for "tray":"start-in-tray" (with quotes)

je-vv commented on 2019-05-12 00:03 (UTC) (edited on 2019-05-12 00:09 (UTC) by je-vv)

BTW, according to nativefier-api-tray, it's possible. However I applied whatsapp-nativefier --tray start-in-tray without any success... But looking at the PKGBUILD, it seems nativefier has to be called with the argument for --tray. Would it be possible to nativefy whatsapp with that?

je-vv commented on 2019-05-11 23:58 (UTC)

Is there a way to start whatsapp-nativefier on tray (iconified on tray), like --start-in-tray? Is it possible to create a wrapper around whatsapp-nativefier to achieve that?

PF71 commented on 2019-04-15 12:50 (UTC) (edited on 2019-04-15 13:46 (UTC) by PF71)

@frealgagu Thanks for the insight, guess I'll stick to browser WA Web for now until nativefier can support extensions.

EDIT: I've found a workaround! I exported the CSS code of my chosen Stylish styles and then injected it in a new nativefier.

frealgagu commented on 2019-04-15 04:25 (UTC)

@PF71 this package does not run over Chrome, it runs over electron, nativefier encapsulates electron pointing to a specified url. I don't think stylish works over electron, so I guess that what you suggest is not possible.

Please visit https://github.com/jiahaog/nativefier and you will have an idea of how nativiefier works.

PF71 commented on 2019-04-14 23:56 (UTC)

@frealgagu Thanks for creating this package, it makes life easier by not having to open a browser tab for WA Web.

However, I like to use WA Web on Firefox using themes/skins or other CSS customizations from Stylish (https://userstyles.org/). Is there any way a Stylish extension can be used on whatsapp-nativefier like on a browser?

Another question, would you consider making a nativefier that runs on Mozilla's Gecko engine instead of Chrome?

frealgagu commented on 2019-04-13 21:05 (UTC)

@saulocastelo The fix is working. Thanks for your collaboration.

saulocastelo commented on 2019-04-12 21:57 (UTC)

@benelexau fixed. Just wait the next update.

@freaigagu just change

if (document.body.innerText.replace(/\n/g, ' ').search(/whatsapp works with.to use whatsapp.update/i) === 0)

to

if (document.body.innerText.replace(/\n/g, ' ').search(/whatsapp works with.to use whatsapp.update/i) !== -1)

Live long and prosper!