1. baius's Avatar
    Hi all,

    This is my second post, here.

    I'm using Firefox Android on my BBk1.

    Usually, I am served desktop websites on this phone on this browser. My former Samsung S5 didn't do this under Firefox Android. Also, the stock browser also seems to serve mobile-optomised CSS (I haven't checked lately).

    Instead of using the phone's native resolution (1080x1620), Firefox should use the phone's "Viewport" resolution (360x540/480x720/other 2:3 ratio).

    These dimensions should allow Firefox/BBk1 to tell websites what resolution to render their content at.

    However, it doesn't. So websites are assuming content is 1080px wide (desktop-esque), rather than e.g. 320px wide (mobile).

    I've installed Firefox Add-On: Stylish. I've added the following code to stylish:
    /*BlackBerryKeyOne ViewPortReset*/
     @viewport {
    width: device-width;
    initial-scale: 1;
    @@-moz-viewport {
    width: device-width;
    initial-scale: 1;
    It was hoped this would work wonders for sites. It has for some. EBay, noticeably, seems to show a mobile-friendly site after this change.

    I would like to add to the code above what the BBk1's "browser width" (Viewport), as a backup/alternative declaration.

    So... please will someone tell me what this width is!?
    (Height may be useful, too...)
    08-25-18 08:26 PM
  2. Bla1ze's Avatar
    08-26-18 02:58 AM
  3. DanielDallas's Avatar
    altough stylish is a handy extention, it's contentious lately due to security issues: https://securityboulevard.com/2018/0...e-and-firefox/
    08-26-18 10:47 AM

Similar Threads

  1. As I type on my KEYone
    By bb10adopter111 in forum BlackBerry KEYone
    Replies: 122
    Last Post: 09-05-18, 02:40 PM
  2. Bought KeyONE manufactured in June 2017... Keep or return?
    By thinkdan in forum BlackBerry KEYone
    Replies: 18
    Last Post: 08-27-18, 12:43 AM
  3. Replies: 3
    Last Post: 08-26-18, 08:45 PM
  4. When will the KEYone update in the UK?
    By Michael Roberts9 in forum BlackBerry KEYone
    Replies: 1
    Last Post: 08-25-18, 06:33 PM
  5. Replies: 1
    Last Post: 08-25-18, 11:45 AM