您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Change any page icon!
- // ==UserScript==
- // @name iCorn
- // @namespace http://tampermonkey.net/
- // @version 1.0
- // @description Change any page icon!
- // @author MultiverseG
- // @match https://www.youtube.com/*
- // @icon https://cdn2.iconfinder.com/data/icons/food-icons-6/200/food_corn-512.png
- // @license MIT
- // @grant none
- // ==/UserScript==
- function gcloak() {
- var link = document.querySelector("link[rel*='icon']");
- document.createElement('link');
- link.type = 'image/x-icon';link.rel = 'shortcut icon';
- link.href = 'https://cdn2.iconfinder.com/data/icons/food-icons-6/200/food_corn-512.png'; //Use your own image here as the page's favicon
- document.title = 'iCorn'; //Enter the page title you want here.
- console.log(document.title);
- document.getElementsByTagName('head')[0].appendChild(link) };gcloak();setInterval(gcloak, 1000);