Bug 453607

Summary: KONQUEROR does not open URL https://web.whatsapp.com/
Product: [Applications] konqueror Reporter: Bangalore Ramdas Ramanath <rmnthr>
Component: generalAssignee: Konqueror Bugs <konqueror-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: stefano.crocco
Priority: NOR    
Version First Reported In: 21.12.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Bangalore Ramdas Ramanath 2022-05-10 03:32:48 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

STEPS TO REPRODUCE
1. Open Konqueror
2. Type URL https://web.whatsapp.com/ in the Address Bar

OBSERVED RESULT
An UPDATE BROWSER message appears

EXPECTED RESULT
Konqueror is expected to open website

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Konqueror Version 21.12.3
Comment 1 Stefano Crocco 2022-05-15 14:17:32 UTC
That's not completely Konqueror's fault. The problem is that web.whatsapp.com checks which browser you're using by parsing its user agent string and infers, incorrectly, that you're using a version of Chrome which is too old and asks you to upgrade.

There's no way for Konqueror to fix this issue, except by changing its user agent. However, doing so risks to break some other site. The best approach would be to make the user agent configurable depending on the site, as it was with the previous web engines (KTHML and KWebKitPart). Unfortunately, the current web engine, QtWebEngine only allows to change it globally.

I'll think if I can find some kind of solution, however.