Wechat article desktop layout

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

יוצר
ThunderMikey
התקנות יומיות
0
סה"כ התקנות
216
דירוגים
2 0 1
גרסה
0.1.1
נוצר
11-08-2019
עודכן
12-08-2019
רישיון
לא זמין
חל על

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.