Greasy Fork is available in English.

Wechat article desktop layout

使文章撑满整个屏幕。消除手机排版横向文字过少的问题。Expand the article width to fit the screen.

Fejlesztő
ThunderMikey
Napi telepítések
0
Telepítések száma
206
Értékelések
2 0 1
Verzió
0.1.1
Létrehozva
2019.08.11.
Frissítve
2019.08.12.
Licensz
Ismeretlen
Érvényes

Motivation

This Tampermonkey script aims to make articles published on Wechat more readable on desktop screens, which usually have more width than height.

The default layout of Wechat article is clearly in favour of mobile phones, which are held in hands and have more height than width.

Installation

It has been published and synced to GreasyFork. Check it out!

How to Use It

The default configuration will set the max-width to 1200px. If fitting the screen width is desired, modify the code

set_max_width("1200px");

to

set_max_width("none");

Mitigate the Side Effect

When the element of the article body is freed from max-width = 677px, the QR code might obstruct it. A simple fix of hidding the QR code element is then applied to mitigate this.