Greasy Fork is available in English.
跳转到思 古 解 析
当前为
// ==UserScript==
// @name 思 古 解 析 z y f
// @namespace http://tampermonkey.net/
// @version 0.11
// @description 跳转到思 古 解 析
// @author hahahaha
// @include http*://www.iqiyi.com/*
// @include http*://v.youku.com/*
// @include http*://v.qq.com/*
// @grant none
// ==/UserScript==
function run(){
var searchPrefix="https://api.sigujx.com/?url=&url=";
var realLink=location.href;
var targetLink=searchPrefix+(realLink);
var block;
if(location.host==='www.iqiyi.com'){
block=document.querySelector('.title-txt');
}
if(location.host==='v.youku.com'){
block=document.querySelector('.play-fn');
}
if(location.host==='v.qq.com'){
block=document.querySelector('.player_title');
}
var mamaLink=document.createElement('a');
mamaLink.href=targetLink;
mamaLink.innerText=' go to 思古解析';
block.appendChild(mamaLink);
}
run();