您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Move leading "Kolab Groupware :: " to the end of the title to have the relevant pieces in front. This helps finding the proper tab.
// ==UserScript== // @name Rename title of Kolab Roundcube pages // @description Move leading "Kolab Groupware :: " to the end of the title to have the relevant pieces in front. This helps finding the proper tab. // @namespace https://greasyfork.org/users/196022 // @version 3.1 // @grant none // @match *://*/webmail/* // ==/UserScript== if (document.title.includes("Kolab Groupware :: ")) { document.title = document.title.replace(/^(.*)?(Kolab Groupware) :: (.*)$/, '$1$3 :: $2'); } new MutationObserver(function(mutations) { console.log(document.title); if (document.title.includes("Kolab Groupware :: ")) { document.title = document.title.replace(/^(.*)?(Kolab Groupware) :: (.*)$/, '$1$3 :: $2'); } }).observe( document.querySelector('title'), { childList: true, subtree: true, characterData: true } );