[Webkit-unassigned] [Bug 44265] New: [Qt] Ability to set custom userAgent for WebKit2/WebKit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 19 07:50:25 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=44265

           Summary: [Qt] Ability to set custom userAgent for
                    WebKit2/WebKit
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zoltan at webkit.org
                CC: hausmann at webkit.org, kenneth at webkit.org


We need to add ability to set custom user agents for WebKit2.
WebKit2's API was added in http://trac.webkit.org/changeset/65644 , bug #44215 .

Currently, we have a good QString QWebPage::userAgentForUrl(const QUrl& url) function. We might make a callback function e.g. setUserAgentFunction(...) and it might be useful to have generally a QString qWebKitDefaultUserAgentForPlatform() function (it would be like qWebKitVersion methods), and then even the current implementation could call to that.

Another way is just to copy the code from qwebpage.cpp and make it for WebKit2 only for now.

We should discuss these.

Zoltan

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



More information about the webkit-unassigned mailing list