CNKI PDF Download

中国知网 PDF 下载

安装此脚本
作者推荐脚本

您可能也喜欢片假名终结者

安装此脚本
  1. // ==UserScript==
  2. // @name CNKI PDF Download
  3. // @description 中国知网 PDF 下载
  4. // @author Arnie97
  5. // @version 2020.10.20
  6. // @license MIT
  7. // @grant none
  8. // @namespace https://github.com/Arnie97
  9. // @homepageURL https://github.com/Arnie97/cnki-pdf
  10. // @supportURL https://gf.qytechs.cn/scripts/368399
  11. // @include *://*/detail/detail.aspx*
  12. // ==/UserScript==
  13.  
  14. ((_, $) => {
  15. if (!_.title.endsWith('中国知网')) {
  16. return;
  17. }
  18.  
  19. $('ul.operate-btn>li>a:first-child').forEach(i => {
  20. if (!i.text.includes('整本下载')) {
  21. return;
  22. }
  23. i.innerHTML = '<i></i> CAJ 下载';
  24. let li = i.parentNode;
  25. li.parentNode.insertBefore(li.cloneNode(true), li.nextSibling);
  26.  
  27. i.innerHTML = '<i></i> PDF 下载';
  28. i.href = i.href.replace('nhdown', 'pdfdown');
  29.  
  30. // change the button icon
  31. li.classList.add('btn-dlpdf');
  32. li.classList.remove('btn-dlcaj');
  33. });
  34. })(document, selector => Array.from(document.querySelectorAll(selector)));

QingJ © 2025

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