PubMed Go To Publisher

Automatically redirect to PMC free PDF or publisher website for full text when you click on the title in the PubMed search result list

  1. // ==UserScript==
  2. // @name PubMed Go To Publisher
  3. // @version 0.2.0
  4. // @author sincostandx
  5. // @description Automatically redirect to PMC free PDF or publisher website for full text when you click on the title in the PubMed search result list
  6. // @namespace https://gf.qytechs.cn/users/171198
  7. // @include https://pubmed.ncbi.nlm.nih.gov/*
  8. // ==/UserScript==
  9.  
  10. const pmc_link = document.querySelector('a.pmc');
  11. if (pmc_link === null) {
  12. const doi_link = document.querySelector('a[data-ga-action="DOI"]');
  13. location.replace(doi_link.href);
  14. } else {
  15. location.replace(pmc_link.href + "/pdf/main.pdf");
  16. }

QingJ © 2025

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