樱花转AGE

跳转age观看动漫

  1. // ==UserScript==
  2. // @name 樱花转AGE
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.42
  5. // @description 跳转age观看动漫
  6. // @author You
  7. // @match http://www.yinghuacd.com/v/*
  8. // @icon https://www.google.com/s2/favicons?doma。in=yhdm.so
  9. // @grant none
  10. // @run-at document-end
  11. // @license MIT
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16. let name = document.querySelector("body > div:nth-child(2) > div.gohome.l > h1 > a")
  17. name.href = "https://www.agemys.net/search?query="+name.innerText
  18. name.setAttribute('style',"color:red;")
  19. // Your code here...
  20. })();