Text Auto Space

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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;
        }
    `);
})();