Greasy Fork 支持简体中文。

思 古 解 析 z y f

跳转到思 古 解 析

目前為 2020-04-19 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name 思 古 解 析 z y f
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.11
  5. // @description 跳转到思 古 解 析
  6. // @author hahahaha
  7. // @include http*://www.iqiyi.com/*
  8. // @include http*://v.youku.com/*
  9. // @include http*://v.qq.com/*
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. function run(){
  14. var searchPrefix="https://api.sigujx.com/?url=&url=";
  15. var realLink=location.href;
  16. var targetLink=searchPrefix+(realLink);
  17. var block;
  18. if(location.host==='www.iqiyi.com'){
  19. block=document.querySelector('.title-txt');
  20. }
  21. if(location.host==='v.youku.com'){
  22. block=document.querySelector('.play-fn');
  23. }
  24. if(location.host==='v.qq.com'){
  25. block=document.querySelector('.player_title');
  26. }
  27. var mamaLink=document.createElement('a');
  28. mamaLink.href=targetLink;
  29. mamaLink.innerText=' go to 思古解析';
  30. block.appendChild(mamaLink);
  31. }
  32.  
  33. run();