Text Auto Space

这个脚本为现代浏览器添加了 text-autospace CSS 特性

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey to install this script.

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

Advertisement:

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Advertisement:

// ==UserScript==
// @name               Text Auto Space
// @name:EN            Text Auto Space
// @name:zh-CN         文本自动间距
// @name:zh-TW         文字自動间距
// @version            1.0.4
// @description        这个脚本为现代浏览器添加了 text-autospace CSS 特性
// @description:EN     This script adds the text-autospace CSS feature for modern browsers
// @description:zh-TW  這個腳本為現代瀏覽器添加了 text-autospace CSS 特性
// @author             Moran
// @homepageURL        https://github.com/morandot/userscripts
// @supportURL         https://github.com/morandot/userscripts/issues
// @contributionURL    https://github.com/morandot/userscripts/blob/main/src/text-autospace.js
// @namespace          http://tampermonkey.net/
// @match              *://*/*
// @license MIT
// @grant              GM_addStyle
// ==/UserScript==
 
(function() {
    'use strict';

    const css = String.raw;
    GM_addStyle(css`
        :root {
            text-autospace: normal;
        }
    `);
})();