[WebKit-devel] [Bug 198428] Wrong default user agent string in Konqueror with webkit-kde kpart

Dawit Alemayehu adawit at kde.org
Mon Oct 5 17:27:49 CEST 2009


https://bugs.kde.org/show_bug.cgi?id=198428





--- Comment #6 from Dawit Alemayehu <adawit kde org>  2009-10-05 17:27:37 ---
As a workaround there is a little documented trick you can use to change the
built-in default agent string in KDE. 

Simply add a "UserAgent=" entry shown below to the default section of either
$KDEHOME/share/config/kioslaverc or $KDEHOME/share/config/kio_httprc files and
execute the command 'kdeinit4' from KRunner (ALT+F2): 

UserAgent=Mozilla/5.0 (X11; U; Linux; en-US) AppleWebKit/527+ (KHTML, like
Gecko, Safari/419.3) konqueror/4.3.1

Doing that will ensure the correct string is sent at all times. However, if you
switch the engine back to KHTML, you have to remove that line or you will have
the same problem in reverse.

Perhaps in the future we might add a hack to the webkitpart to automatically do
the above workaround...

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the WebKit-devel mailing list