[SOLVED] What do I have to put in my agent string for this site to recognise me as a Slackware user?
LQ Suggestions & FeedbackDo you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using arch, with my own qtwebengine web browser. I have my default user agent in "My Browser" set to this unless I change it.
Code:
QMenu *agentMenu = new QMenu(tr("&Agent"));
//iPhone 16 chrome 108
QAction *iphoneAction1 = agentMenu->addAction(tr("&iPhone 16, Chrome 108"));
connect(iphoneAction1, &QAction::triggered, [this]() {
QWebEngineProfile::defaultProfile()->setHttpUserAgent("Mozilla/5.0 "
"(iPhone; CPU iPhone OS 16_2 like Mac OS X) AppleWebKit/605.1.15 "
"(KHTML, like Gecko) CriOS/108.0.5359.112 Mobile/15E148 Safari/604.1");
});
And LQ says that's a mac.
And I'm about due to update my user agents again.
I've been asked about that before. Having an iphone user agent gets you the lightest page from a server that they have. That is if the sever delivers different source depending on your user agent. A lot a sites do. I keep scripts and images off in the web browser unless I have to turn them on. So, you get a dillo like experience, but with working frames and a proper page layout. In fact I like doing that better than using dillo.
I keep about a dozen user agents available to the browser, for different things. Browsers like palemoon, and probably firefox let you specify user agent for url or domain. I change it manually with a drop down menu whenever I want to.
Newegg is a good example for switching user agents. (Not trying to advertise, it is a script busy web site)
That site has become so heavy and slow, using a desktop user agent. I prefer to report to be an iPhone. You'll get much lighter, less busy, lower bandwidth pages, that are faster loading, faster browsing, and matter of opinion, easier to navigate.
Let me take a couple of screenshots.
Let me just do a simple search for "desktop internal hardrives" with an iphone user agent. https://0x0.st/HN8F.png
Simple small page, loads almost instantly, without scripts grinding for 10 seconds.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.