X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

How to change screen resolution in Firefox for Android?

Posted

Hello I have a Galaxy Note 3 which it's display resolution is 1920x1080. If I go to http://www.whatismyscreenresolution.com with Firefox I see that it shows my screen resolution 640x360 (even with "Request Desktop Site" checked and Text Size Tiny). I tried with other browsers and some of them were able to show 1920x1080.

The question is: How can I use Firefox for Android in MAXIMUM screen resolution of my display (which is 1920x1080)?

Chosen solution

Could you try opening this page: http://dev.jeffersonscher.com/resolution.html

The script should show the "effective" screen resolution along with the device pixel ratio, yielding the true screen resolution. (The page doesn't recompute when you rotate between portrait and template orientations, so you'll need to reload manually after doing that.)

Note: There may be rounding errors for more extreme values.

Assuming the device pixel ratio is closer to 3 than to 1, you can try editing a hidden setting to see whether it improves things.

Open a new tab, and type or paste about:config in the address bar and tap the Enter key on the keyboard. You may want to bookmark this page for future tweaking.

In the search box, type css and then tap the Enter key on the keyboard.

When you find layout.css.devPixelsPerPx tap the Modify button and change the value to 1.0 (typically, you just need to delete the - sign). Tap the OK button.

Switch back to the first tab and reload.

Does that change how any real sites you use render?

Read this answer in context 2
Post a Reply

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0

More Information

guigs2
  • Top 10 Contributor
  • Administrator
  • Moderator
123 solutions 1476 answers

Helpful Reply

Hi hamid_ss,

Thank you for contacting support. Since the update I had to adjust how to zoom in on pictures or some web pages. https://bugzilla.mozilla.org/show_bug.cgi?id=847872

Please try to double tap on the web page to manually adjust the resolution. http://mzl.la/ONCpzU

If this does not work, I have the same device and I would be very happy to file a bug for you with an example webpage where the double tap does not work. Looking forward to your reply.

Was this helpful to you? 8
Reply

Question owner

Hi rmcguigan, Thank you for your reply.

Double tapping doesn't adjust the screen resolution. It just simply zooms in and out. I'm not talking about zooming in and out. I'm talking about screen resolution. Meaning how much thing you are able to see when you are completely zoomed out. And you can verify in this website http://www.whatismyscreenresolution.com that double tapping doesn't change resolution and it still shows 640x360.

I wished there was an option in settings page (or even an add-on) where you can set Firefox's screen resolution (which can be any number, up to the device's display resolution).

This is not exactly a bug, but it is a very important feature request.

Was this helpful to you? 1
Reply
Sukanya Mandal 3 solutions 33 answers

May be you need to update Firefox. Updating Firefox might solve your problem.

Thank you.

Was this helpful to you? 1
Reply

Question owner

I have Firefox version 26.0.1.

I'm starting to think nobody here understands what screen resolution is.

Was this helpful to you? 0
Reply
jscher2000
  • Top 10 Contributor
2368 solutions 20966 answers

Chosen Solution

Could you try opening this page: http://dev.jeffersonscher.com/resolution.html

The script should show the "effective" screen resolution along with the device pixel ratio, yielding the true screen resolution. (The page doesn't recompute when you rotate between portrait and template orientations, so you'll need to reload manually after doing that.)

Note: There may be rounding errors for more extreme values.

Assuming the device pixel ratio is closer to 3 than to 1, you can try editing a hidden setting to see whether it improves things.

Open a new tab, and type or paste about:config in the address bar and tap the Enter key on the keyboard. You may want to bookmark this page for future tweaking.

In the search box, type css and then tap the Enter key on the keyboard.

When you find layout.css.devPixelsPerPx tap the Modify button and change the value to 1.0 (typically, you just need to delete the - sign). Tap the OK button.

Switch back to the first tab and reload.

Does that change how any real sites you use render?

Modified by jscher2000

Was this helpful to you? 2
Reply

Question owner

THAT WAS AWESOME jscher2000!!! You're AWESOME jscher2000!!! It completely worked! Now I can surf the web in 1920x1080!! You're amazing! Thank you very much! If I were you I would've written an small add-on for this. I hope Firefox people see this and change that property's default value in future versions.

Thank you very very much again!

Was this helpful to you?
Reply
jscher2000
  • Top 10 Contributor
2368 solutions 20966 answers

Hi hamid_ss, I'm glad that worked for you, and if you are seeing sites giving you a different layout already, that would be interesting to know about.

My device's ratio is 1.5. I have no idea how it's computed, so it's probably premature to prescribe one ratio for everyone regardless of their screen size. Everyone can experiment. :-)

Was this helpful to you?
Reply

Question owner

Well, now that you asked, my initial and ultimate goal is to see websites in my smart phone EXACTLY the way I see them in my windows PC. With applying that trick, most of websites look exactly the way they look in PC, except some such as Yahoo and some more. I have no idea how they do it because I have also changed my Agent String to Agent String of Firefox in Windows.

I wonder if there are any more configs that can be done on Firefox in order to achieve 100% result...

Modified by hamid_ss

Was this helpful to you?
Reply
jscher2000
  • Top 10 Contributor
2368 solutions 20966 answers

There might be some other JavaScript properties or methods which reveal that it's a mobile browser, but I haven't looked into it much.

Was this helpful to you?
Reply
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.