您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
leave blank
// ==UserScript== // @name Add Drive Link // @version 1.0 // @grant none // @description leave blank // @license MIT // @match https://vanced-youtube.neocities.org/2011/ // @namespace https://greasyfork.org/users/1090996 // ==/UserScript== (function() { 'use strict'; // Create the new list item node var listItem = document.createElement('li'); listItem.setAttribute('class', 'gbt'); listItem.innerHTML = '<a class="gbzt" id="gb_23" onclick="gbar.qs(this);gbar.logger.il(1,{t:23})" href="http://mail.google.com/mail/?hl=en&tab=wm"><span class="gbtb2"></span><span class="gbts">Drive</span></a><div></div>'; // Find the existing parent node to append the new item to var parentNode = document.querySelector('.gbi'); if (parentNode) { parentNode.appendChild(listItem); } })();