您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Make the title of PostgreSQL Documentation shorter!
// ==UserScript== // @name PostgreSQL Doc Title Shortener // @namespace https://xtexx.eu.org/ // @version 0.1.1 // @description Make the title of PostgreSQL Documentation shorter! // @author xtex // @match https://www.postgresql.org/docs/* // @icon https://www.postgresql.org/favicon.ico // @grant none // @run-at document-body // @noframes // @supportURL https://codeberg.org/xtex/gadgets/issues // @license Unlicense // ==/UserScript== (function () { 'use strict'; if (document.title.startsWith('PostgreSQL: Documentation: ')) { document.title = document.title .replace(/^PostgreSQL: Documentation: \d+:\s*/, 'PGDoc: ') .replace('PGDoc: Chapter', 'PGDoc:'); } })();