您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
当前为
// ==UserScript== // @name Get GIF // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author NKL // @include https://www.gif-vif.com*/* // @include https://www.alucinoconfeisbuk.com*/* // @include https://media.giphy.com*/* // @include https://gif15.videosgifs.com*/* // @include https://videosgifs.com*/* // @include https://floobee.me/ // @include https://tenor.com/ // @grant none // @require http://code.jquery.com/jquery-3.4.1.min.js // ==/UserScript== (function() { 'use strict'; var a = document.querySelector("meta[property='og:url']").getAttribute("content"); //alert(a); $(document).keypress(function(event){ var keycode = (event.keyCode ? event.keyCode : event.which); if(keycode == '13'){ //alert('You pressed a "enter" key in somewhere'); var txt; if (confirm("Bạn có chắc muốn tải file không?")) { txt = "You pressed OK!"; //document.location.href = 'yourfile.exe'; // a.href; window.open(a, 'Download'); /*function downloadFile(filePath){ var link=document.createElement('a'); link.href = filePath; link.download = filePath.substr(filePath.lastIndexOf('/') + 1); link.click(); } downloadFile(a);*/ } else { txt = "You pressed Cancel!"; } //document.getElementById("demo").innerHTML = txt; } }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址