วิธีทำให้ Firefox scrollbars แสดงตลอดเวลา, หนาขึ้น
อัปเดต: 20 พฤษภาคม 2567
ทศวรรษที่ผ่านมา software user interfaces ส่วนใหญ่ undergo significant degradation ใน accessibility, usability, และ ergonomics ทำไม? Touch Middle management เห็น usage growth ใน mobile space คิดว่า hey ถ้า replicate smartphone interfaces บน desktop จะได้ MOAR success ผลลัพธ์ more mouse clicks, more confusing menus, loss of productivity และอื่นๆ
สิ่งที่ขยี้แข้งคือ Firefox scrollbar functionality ไม่ consistent บนทุก platform/OS บางที่ได้ reasonable default behavior ที่อื่นไม่ Tutorial เล็กๆ นี้จะแสดงวิธีปรับปรุง Firefox ergonomics คือ มี scrollbars แสดงตลอด และทำให้หนาขึ้น ใช้งานกับ mouse pointer ง่ายขึ้น เริ่มกัน

ปัญหาในรายละเอียด
ตัวอย่าง Firefox ใน Plasma 5 (บน Kubuntu 22.04) Scrollbars เห็นได้เฉพาะ mouse hover และ super super tiny 非常细 ไม่กี่พิกเซล ทำให้ everyday usage annoying ต้อง focus และ aim mouse pointer อย่างระมัดระวัง


แสดง Scrollbars ตลอดเวลา
สิ่งนี้ relatively simple เปิด Firefox Settings (Preferences) Windows: Menu > Tools > Settings Linux: Menu > Edit > Preferences ไป General > Browsing ติ๊ก checkbox "Always show scrollbars" เสร็จ

ในบาง Firefox implementations scrollbars นอกจากจะ auto-hidden จะ relatively thin ยาก "hit" ด้วย mouse pointer อาจโต้แย้งว่า hey ใช้ middle-mouse button ไม่ได้ Usability ควร identical ไม่ว่า pointer device อะไรหรือชอบอะไร
All right เปิด Firefox พิมพ์ about:config ใน configuration editor page ค้นหา:
widget.non-native-theme.enabled
ตั้งค่าให้ true ต่อไป ค้นหา:
widget.non-native-theme.scrollbar.size.override
เปลี่ยน default value เป็นอะไรก็ชอบ 10, 20, 30, 50 ลองดูชอบไหน การเปลี่ยนแปลง immediate ไม่ต้อง restart Firefox เพื่อดูผลลัพธ์ เสร็จแล้ว!

สรุป
การเปลี่ยนแปลงสองอย่างนี้คือทุกสิ่งที่ต้องการทำให้ Firefox behave ถ้า OS และ/หรือ Firefox installation ไม่ offer thick, always-visible scrollbars ที่ใช้งานง่าย คุณสามารถ manually override browser defaults ได้ คุณไม่ควรให้ touch-inspired nonsense frenzy ส่งผลต่อ good life และ sane, logical usage patterns ของคุณ
แรก ต้องแสดง scrollbars ทำได้ง่าย สอง ต้องขุด configuration browser และ override size value ค่าเริ่มต้นคือ 0 แตใช้อะไรก็ได้ และจะ restore thick, chunky scrollbars ที่เห็นง่ายและเข้าถึงง่ายบนหน้าจอ HD/UHD 1:0 desktop versus touch เหมือนที่ควรเป็น หวังว่า guide นี้ useful On to the next challenge See ya.
Cheers.