给谷歌学术增加Springer Proceedings引用格式 2021-05-29 技巧 暂无评论 1682 次阅读 ## Springer Proceedings的引用格式 > 1. Author, F.: Article title. Journal 2(5), 99–110 (2016). 2. Author, F., Author, S.: Title of a proceedings paper. In: Editor, F., Editor, S. (eds.) CONFERENCE 2016, LNCS, vol. 9999, pp. 1–13. Springer, Heidelberg (2016). 3. Author, F., Author, S., Author, T.: Book title. 2nd edn. Publisher, Location (1999). 4. Author, F.: Contribution title. In: 9th International Proceedings on Proceedings, pp. 1–2. Publisher, Location (2010). 5. LNCS Homepage, http://www.springer.com/lncs, last accessed 2016/11/21. `作者名(逗号、点)` : `标题`. In: `出处` (`年份`). ## 浏览器脚本 1. 浏览器安装 暴力猴 插件 2. 点暴力猴图标,创建新脚本,粘贴以下内容: ``` // ==UserScript== // @name 谷歌学术引用 // @namespace Violentmonkey Scripts // @match https://scholar.google.com/scholar // @grant none // @version 1.0 // @author - // @description 2021/5/28下午10:46:53 // ==/UserScript== String.prototype.format =function () { var args = arguments; return this.replace(/\{(\d+)\}/g, function(m, i){ return args[i]; }); }; window.proutil_add_cite = function(name,content){ str_html = '{0}{1}'.format (name,content) document.querySelector('#gs_citt > table > tbody').innerHTML += str_html } window.proutil_get_info = function(){ var proutil_int=window.setInterval(function(){ if(document.querySelector('#gs_md_s').className=="gs_vis"){ window.clearInterval(proutil_int) // The Cite window already appears info = document.querySelector('#gs_citt > table > tbody > tr:nth-child(3) > td > div').innerHTML console.log(info) obj = info.match("([^\(]*) ([^\.]*)\.") authors_comma_dot = obj[1] year_brackets = obj[2] source = info.substring(info.indexOf("")).replaceAll("","").replaceAll("","") if(source[source.length-1]=='.') source = source.substring(0,source.length-1) info = info = document.querySelector('#gs_citt > table > tbody > tr:nth-child(2) > td > div').textContent obj = info.match("\"(.*)\"") title = obj[1] if(title[title.length-1]=='.') title = title.substring(0,title.length-1) console.log(authors_comma_dot) console.log(year_brackets) console.log(title) console.log(source) // Increase the max-height of Cite window document.querySelector('#gs_cit-bdy').style['max-height']='600px' // Add a new Cite row splinproc = '{0}: {1}. In: {2} {3}.'.format(authors_comma_dot,title,source,year_brackets) window.proutil_add_cite("splinproc",splinproc) } console.log("tick") },100) } as = document.querySelectorAll('a[title="引用"]') for(i=0;i 标签: 脚本, Javascript 本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。
评论已关闭