您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Fits all text to the screen width after a pinch gesture on phone
This userscript is created for mobile browsers, and tries to fit all text on page to the screen width after pinch gesture. It tries to replicate text wrap from Opera Mobile, but in any browser.
For changelog see the Github page
Since it is my first attempt of implementing this feature, there might be some problems:
Some reflowed text elements might be misaligned, if they are positioned inside an element with align-items:center
The script attempts to guess text element which you were zooming into, and scrolls it into view after reflow. But this feature is buggy and doesn't work reliably all the time
Some elements with text are not reflowed by the script, for example div
elements, or span
elements with display:inline
set. I am yet to figure out how to target these elements without too much performance overhead and unwanted reflows
If you have any ideas on how the script can be improved, please let me know using a Feedback form or on the Github page!
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址