You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app works perfectly, better than all the adware crap available on the playstore.
The only downside is that the "Download WhatsApp for Windows" banner, I think I found a solution.
By changing the user agent string to a OS that does not has a official whatsapp client the banner disappears.
I propose changing it to an OS that is unlikely to get a official whatsapp client, like Chromium OS (or linux).
It seems to work I have tested it using Firefox and the addon User-Agent Switcher and Manager to check if the banner disappears.
As seen in the picture above it seems to work, using the following user agent string: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
It seems this can be easily changed by modifying the string constant in this file: WhatsappWebToGo/app/src/main/java/io/kuenzler/whatsappwebtogo/WebviewActivity.java
privatestaticfinalStringCHROME_FULL = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36";
At the moment I do not have android studio installed so I cannot compile a APK and test it I hope someone can do this for me, I also have to check how this can be done I have not used android studio before.
If it works please let me know, and if possible share the APK file.
The text was updated successfully, but these errors were encountered:
thanks for the hint, will check
changing the user agent string needs to be handled with care. It also defines feature implementation toggles on whatsapp web side and makes detection of this in-app solution easier. But nevertheless it makes sense to look into it.
There was a banner that wasnt showing for me under the chat list until today when i tried it on a new phone, but is the same banner "donwload app for windows"
I think is easier to just remove it via css than to change agents :)
The app works perfectly, better than all the adware crap available on the playstore.
The only downside is that the "Download WhatsApp for Windows" banner, I think I found a solution.
By changing the user agent string to a OS that does not has a official whatsapp client the banner disappears.
I propose changing it to an OS that is unlikely to get a official whatsapp client, like Chromium OS (or linux).
It seems to work I have tested it using Firefox and the addon User-Agent Switcher and Manager to check if the banner disappears.
As seen in the picture above it seems to work, using the following user agent string:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
It seems this can be easily changed by modifying the string constant in this file:
WhatsappWebToGo/app/src/main/java/io/kuenzler/whatsappwebtogo/WebviewActivity.java
WhatsappWebToGo/app/src/main/java/io/kuenzler/whatsappwebtogo/WebviewActivity.java
Line 65 in 23dcaad
At the moment I do not have android studio installed so I cannot compile a APK and test it I hope someone can do this for me, I also have to check how this can be done I have not used android studio before.
If it works please let me know, and if possible share the APK file.
The text was updated successfully, but these errors were encountered: