您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Set new pre-defined page title for pr0gramm.com
// ==UserScript== // @name pr0gramm.com - Page Title Changer // @namespace http://tampermonkey.net/ // @version 0.1 // @description Set new pre-defined page title for pr0gramm.com // @author lalelu // @match https://pr0gramm.com/* // @grant none // ==/UserScript== var settings = { 'updateIntervalTime' : '10', 'newTitle' : 'Google' //here is the new title, change it if you want }; function changeIt(){ document.title = settings.newTitle; } (function() { 'use strict'; var oldTitle = document.title; window.setInterval(function() { if (document.title !== oldTitle){changeIt();} oldTitle = document.title; }, settings.updateIntervalTime); })();