element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs 31 days of Raspberry PI 400 | #9 | Day 11
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: feiticeir0
  • Date Created: 11 Apr 2021 6:19 PM Date Created
  • Views 1153 views
  • Likes 1 like
  • Comments 1 comment
  • google desktop mode search results firefox ers rpi
  • firefox esr desktop mode google
  • review raspberry pi 400
  • raspberrypi 400
  • 31daysofraspberrypi400
  • raspberry pi firefox google desktop mode
Related
Recommended

31 days of Raspberry PI 400 | #9 | Day 11

feiticeir0
feiticeir0
11 Apr 2021

image

 

Hi all !

Welcome to day 11th of 31 days of Raspberry PI 400

 

This is part of a challenge - 31 days of Raspberry PI 400 . This challenge consists of me using the Raspberry PI 400 and nothing else, for 31 days !

 

Today was just about going from this:

image

 

to this (in Firefox ESR):

image

 

In four words: Firefox ESR user agent

 

I was getting tired that Google showed results in page for a mobile. Frustrating to have small images and small page results when I'm in  a desktop computer.

After a bit of google search (even in mobile results), I  go to this Firefox troubleshooting information page (3 horizontal small rectangles -> Help -> Troubleshooting Information):

image

What's in the red rectangle got my attention.  Maybe Google is presenting the search results in a mobile fashion because it thinks I'm on a mobile device because of the Linux Arm7l in the User Agent string.

For those who don't know, the user agent is a line of text that tells to the Web Server (of any website you're visiting) the operating system you're on and what browser are you using.

 

Since web pages are getting more and more complex, this information maybe vital for the website you're visiting to present to you (and how to present to you) the best version of their web site or how you'll interact with them. But can also be used for nefarious reasons.

As you can see, Google uses the user agent to know how to display the search results and everything else. My guess is, if changing the user agent for a desktop one, the search results page will also change.

Let's try it.

 

I'm going to change

Mozilla/5.0 (X11; Linux armv7l; rv:78.0) Gecko/20100101 Firefox/78.0

to

Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

 

The original user agent from my work laptop is:

Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0

but I've decided to keep the same Firefox version.

 

How to change Firefox user agent

 

In the address bar, write about:config

You'll be presented with a warning. Read it and accept it.

In the search box, search for general.useragent.override

Firefox will not find any, but will present you with an option to add a new item, with the plus button. Before pressing the button, just choose String.

image

By pressing the plus button, a new text box appears.

image

 

Write the new user agent string and press the check mark button

image

The new user agent string is set.

image

Let's try it by search something in Google

By opening the Google search page, it's different. This looks promising

image

and finally

image

 

FINALLY !

image

and that was it for today for problem solving.

For the rest, the usual - Netflix, Unifi Software, GIMP and some Raspberry PI hacking (others Raspberry PIs, not this one). image

  • Sign in to reply
  • DAB
    DAB over 4 years ago

    Nice post.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube