PINE64
Any chance to see a mobile-friendly Pine64 forums ? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: General (https://forum.pine64.org/forumdisplay.php?fid=1)
+--- Forum: General (https://forum.pine64.org/forumdisplay.php?fid=74)
+--- Thread: Any chance to see a mobile-friendly Pine64 forums ? (/showthread.php?tid=12387)

Pages: 1 2


RE: Any chance to see a mobile-friendly Pine64 forums ? - TRS-80 - 02-17-2022

Since we are lucky to have full Firefox, you could maybe do something in a Greasemonkey script, like with media queries or stuff like that. Really depends on the site in question though. If it was not designed to be responsive, you may be in for an uphill battle. Or you could get lucky and figure something out pretty easily.

On Mobian they are using some Firefox tweaks for mobile which I believe ultimately come from postmarketOS (see https://gitlab.com/postmarketOS/mobile-config-firefox) which is probably a lot better than my hacky idea above.


RE: Any chance to see a mobile-friendly Pine64 forums ? - wpeckham - 02-19-2022

(02-13-2021, 07:20 PM)tllim Wrote:
(02-13-2021, 01:44 PM)TRS-80 Wrote: We are probably shouting into the ether here, but I will add my +1, for whatever that's worth.

I was actually a bit surprised to find the site was not mobile friendly, knowing that it's only a few years old (or even newer, for the "new" site).  Well, certainly Pine are not alone in this on the whole of the Internet, even though mobile devices make up by far the vast majority of all devices nowadays.

TRS-80, received your PM and not able reply back due to your setting.

The AT sign made your post vanish.  I removed that sign form the quote above to make it show.


RE: Any chance to see a mobile-friendly Pine64 forums ? - gab - 03-23-2022

No answer from Pine64 Sad

In the meantime a beginning of a solution on Firefox is the "reader mode" which you can enable by clicking the "book page" button currently located next to the URL. This is not ideal because you cannot click previous/next page buttons and have to enter/exit the reader mode frequently. See attached screenshot (edited with Gimp on my PP Tongue )





RE: Any chance to see a mobile-friendly Pine64 forums ? - walter1950 - 03-24-2022

Hello,
(03-23-2022, 03:27 PM)gab Wrote: No answer from Pine64 Sad

In the meantime a beginning of a solution on Firefox is the "reader mode" which you can enable by clicking the "book page" button currently located next to the URL. This is not ideal because you cannot click previous/next page buttons and have to enter/exit the reader mode frequently. See attached screenshot (edited with Gimp on my PP Tongue )



Pine-Webadmin can change in "global.css"
Code:
#container {
    font-family: "Open Sans", Arial, Tahoma, sans-serif;
    text-align: left;
    color: #555;
    line-height: 1.431;
    margin: 0;
    font-size: 13px;
    max-width: 960px;
}
max-width: 960px; <== hier is the Problem (change it to 1960px)

Ciao
Walter


RE: Any chance to see a mobile-friendly Pine64 forums ? - gab - 03-27-2022

Thanks Walter, using your advice I was able to write this Violentmonkey script:

Code:
// ==UserScript==
// @name        Make forum.pine64.org usable on PinePhone
// @namespace   Violentmonkey Scripts
// @match       https://forum.pine64.org/*
// @match       http://forum.pine64.org/*
// @grant       GM_addStyle
// @version     1.0
// @author      -
// @description 3/27/2022, 4:51:54 PM
// ==/UserScript==
console.log("executing userscript on forum.pine64.org")
GM_addStyle('#container { min-width: 100px; }');

The last problem is that I cannot open the Violentmonkey menu in Firefox due to a display bug. But I could in Chromium where I can confirm it works.

edit: I was able to open the Violentmonkey menu in Firefox by temporarily setting browser.uidensity to 2 in about:config
In my Firefox the Violentmonkey configuration page is at moz-extension://8a1dd640-1fac-45b0-8b40-04e9cb5bd670/options/index.html this url may or may not work for you.