您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
http://vistafan12.eu
// ==UserScript== // @name You.ct8.pl download button // @namespace vistafan12 // @version 0.1 // @description http://vistafan12.eu // @author vistafan12 // @include *youtube.com/watch?v=* // @include *www.youtube.com/watch?v=* // @require https://code.jquery.com/jquery-3.1.0.min.js // @grant none // ==/UserScript== /*jshint multistr: true */ (function() { 'use strict'; var searchGET = 'http://you.ct8.pl/tests/$_GET.test.php'; var vid_id = location.href.split('watch?v=')[1].split('&')[0]; $('#watch8-secondary-actions').append('<div class="yt-uix-menu"><a target="_blank" href="'+searchGET+'?vid_id='+vid_id+'"><button class="yt-uix-button yt-uix-button-size-default yt-uix-button-opacity"><span class="yt-uix-button-content">Download Video</span></button></a></div>'); })();