Greasy Fork is available in English.

Web of Science DOI add href

Change the plain text doi in WOS to hyper link, 在WOS的文章页面将DOI的文本展示改为超链接

  1. // ==UserScript==
  2. // @name Web of Science DOI add href
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.2
  5. // @description Change the plain text doi in WOS to hyper link, 在WOS的文章页面将DOI的文本展示改为超链接
  6. // @author Zhou Yucheng
  7. // @match https://apps.webofknowledge.com/full_record*
  8. // @match http://apps.webofknowledge.com/full_record*
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14. window.onload = function(){
  15. var values=document.querySelectorAll('#records_form > div > div > div > div.l-column-content > div > div.block-record-info.block-record-info-source > p > value');
  16. for (var v of values){
  17. var x=v.innerHTML;
  18. if(x.substr(0,3)=="10."){ //doi always start with "10.xxx"
  19. v.innerHTML="<a href='https://doi.org/"+x+"'>"+x;
  20. }
  21. }
  22. }
  23. })();