您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
In modern times there really is no reason not to use justified text alignment always!
当前为
- // ==UserScript==
- // @name Force Justify
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description In modern times there really is no reason not to use justified text alignment always!
- // @author YStanislav Stankovic
- // @match http://*/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- var x = document.querySelectorAll("p");
- for (var i = 0; i < x.length; i++) {
- x[i].style.textAlign = "justify";
- }
- // Your code here...
- })();