您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This userscript assists all sites use plugins of GkPlugins in fetching data links. Mainly used as an alternative to the Java option currently provided.
- // ==UserScript==
- // @name GkPlugins Helper
- // @namespace http://www.kinoteka.ba/
- // @version 0.1
- // @description This userscript assists all sites use plugins of GkPlugins in fetching data links. Mainly used as an alternative to the Java option currently provided.
- // @icon http://www.kinoteka.ba/extensions/userscript/icon128.png
- // @icon64 http://www.kinoteka.ba/extensions/userscript/icon64.png
- // @homepage http://www.kinoteka.ba/extensions/
- // @author GkPlugins
- // @match https://*/*
- // @match http://*/*
- // @grant GM_xmlhttpRequest
- // @run-at document-start
- // ==/UserScript==
- function checkReq(){
- var list = document.getElementById("gkpluginsExtListReq");
- if(list==null){
- return;
- }
- list.title = "ready";
- if(list.childNodes.length>0){
- var curReq = list.firstChild;
- if(typeof curReq.innerHTML=="undefined"){
- list.removeChild(curReq);
- return;
- }
- var obj = JSON.parse(atob(curReq.innerHTML));
- obj.onload = obj.onerror = obj.onabor = function(response){
- var txtout = document.createElement("textarea");
- txtout.id = obj.extreqid;
- txtout.style.display = "none";
- var Hfres = response.status+" "+response.statusText+"\r\n"+response.responseHeaders;
- if(response.finalUrl){
- Hfres += "FinalLocation: "+response.finalUrl+"\r\n";
- }
- if(obj.returndtaescape){
- txtout.value = escape(Hfres+"\r\n"+response.responseText);
- }else if(obj.returndtab64){
- txtout.value = btoa(Hfres+"\r\n"+response.responseText);
- }else{
- txtout.value = Hfres+"\r\n"+response.responseText;
- }
- document.body.appendChild(txtout);
- };
- GM_xmlhttpRequest(obj);
- list.removeChild(curReq);
- }
- }
- setInterval(checkReq,100);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址