arxiv2cn

An Arxiv Jumper to China Image Source

  1. // ==UserScript==
  2. // @name arxiv2cn
  3. // @name:zh arxiv2cn
  4. // @name:en arxiv2cn
  5. // @namespace arxiv2cn
  6. // @homepage arxiv2cn
  7. // @version 1.0
  8. // @author KyanChen
  9. // @description An Arxiv Jumper to China Image Source
  10. // @description:zh An Arxiv Jumper to China Image Source
  11. // @description:en An Arxiv Jumper to China Image Source
  12. // @include /^https?://(.*\.)?arxiv\.org/.*/
  13. // @run-at document-end
  14. // @license MIT License
  15. // ==/UserScript==
  16. window.onload=function () {
  17. let h0 = document.querySelector('#abs-outer > div.extra-services > div.full-text > ul');
  18. let h1 = document.querySelector('#abs-outer > div.extra-services > div.full-text > ul > li:nth-child(1)');
  19. let h2 = h1.cloneNode(h1);
  20. h2.children[0].text='arxiv2cn';
  21. h2.children[0].href = h2.children[0].href.replace('https://arxiv.org','http://xxx.itp.ac.cn');
  22. h0.insertBefore(h2,h0.children[0]);
  23. }();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址