AER DL

AER quick dl

  1. // ==UserScript==
  2. // @name AER DL
  3. // @namespace aer
  4. // @version 0.1
  5. // @description AER quick dl
  6. // @author Yui
  7. // @match https://www.aeaweb.org/issues/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=aeaweb.org
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14. var url0='oo'
  15. var url1='11'
  16. var num=document.querySelectorAll(' h3 > a').length
  17. for(i=0;i<num;i++){
  18. url0=document.querySelectorAll(' h3 > a')[i].href
  19. url1=url0.replace(/www.*articles\?id=/,'pubs.aeaweb.org/doi/pdfplus/')
  20. document.querySelectorAll(' h3 > a')[i].href=url1
  21. document.querySelectorAll(' h3 > a')[i].target='_blank'
  22. console.log(i)
  23. console.log(url1)
  24. }
  25.  
  26.  
  27. })();

QingJ © 2025

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