Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
per site useragent #399
Allow the user to set a list of specific list of sites with associated useragents.
Rationale: Generally it's best to have the useragent set to what the browser actually is. However, some sites can display correctly in qupzilla, but are set to reject all but a limited set of useragents.
e.g. bbc iplayer in the uk seems to work fine in qupzilla, but only if the useragent is set to firefox, opera etc. Otherwise, it displays, "Sorry we do not support your device".
For sites such as this, it would be convenient to have qupzilla remember that this specific site needs to have useragent set to something different.
For me the question is, if we have benefits (e.g. in speed, security, layout) when accssing a web-site using the qupzilla user agent. Unfortunately I am not able to give the answer. If this is not the case, we should recommend to use the firefox user agent as a default setting.
Of course we should use our own user agent as long as possible, because it's the only correct one.
Using Firefox user agent can also lead to issues that are not present with default user agent, because current versions of Firefox is supporting more features (html5, ...) than QtWebKit now. It may also completely break functionality of entire site.
Right now, for Facebook and Google, a "fake" user agent is used by default. It is user agent in this format:
As you can see, it is user agent of Chrome 10 with actual version of WebKit that is used.
I will make an option to change list of servers to send this fake user agent.
PS: If you want to test this user agent, there is example (for Linux):