-
Notifications
You must be signed in to change notification settings - Fork 2
/
Automatically Literature Validation for NUS 新加坡国立大学自动文献验证自动登录脚本.user.js
360 lines (357 loc) · 13.2 KB
/
Automatically Literature Validation for NUS 新加坡国立大学自动文献验证自动登录脚本.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
// ==UserScript==
// @name Automatically Literature Validation for NUS 新加坡国立大学自动文献验证自动登录脚本
// @namespace NUS
// @grant none
// @version 5.3
// @license MIT
// @author Naibo Wang
// @match login.libproxy1.nus.edu.sg/*
// @match proxylogin.nus.edu.sg/libproxy1/public/*
// @match *://vafs.nus.edu.sg/*
// @match proxylogin-nus-edu-sg.libproxy1.nus.edu.sg/libproxy1*
// @match www.sciencedirect.com/*
// @match ieeexplore.ieee.org/*
// @match dl.acm.org/*
// @match *.springer.com/*
// @match onlinelibrary.wiley.com/doi/*
// @match www.ncbi.nlm.nih.gov/pubmed/*
// @match epubs.siam.org/*
// @match www.nature.com/*
// @match pubsonline.informs.org/*
// @match *.serialssolutions.com/*
// @match *.ezlibproxy1.ntu.edu.sg/*
// @match *://www.science.org/*
// @match *://aip.scitation.org/*
// @match *://journals.aps.org/*
// @match *://onlinelibrary.wiley.com/*
// @match *://pubs.acs.org/*
// @match *://link.springer.com/*
// @match *://www.sciencedirect.com/*
// @match *://www.osapublishing.org/*
// @match *://pubs.rsc.org/*
// @match *://iopscience.iop.org/*
// @match *://science.sciencemag.org/*
// @match *://www.spiedigitallibrary.org/*
// @match *://www.cambridge.org/*
// @match *://www.pnas.org/*
// @match *://royalsocietypublishing.org/*
// @match *://heinonline.org/*
// @match *://www.jstor.org/*
// @match c.g.wanfangdata.com.hk/*
// @match ccinfoweb.ccohs.ca/*
// @match ccrd.usc.cuhk.edu.hk/*
// @match cpps.brepolis.net/*
// @match highwire.stanford.edu/*
// @match knowledge.sagepub.com/*
// @match portal.igpublish.com/*
// @match www.aap.amdigital.co.uk/*
// @match www.asia-studies.com/*
// @match www.quintpub.com/*
// @match www.researchmethodsprimarysources.amdigital.co.uk/*
// @match aacrjournals.org/*
// @match academic.oup.com/*
// @match accessmedicine.mhmedical.com/*
// @match accesspharmacy.mhmedical.com/*
// @match adt.arcanum.com/*
// @match advance.lexis.com/*
// @match advisor.lww.com/*
// @match ajplegacy.physiology.org/*
// @match analytics.patsnap.com/*
// @match analyticscampus.gallup.com/*
// @match app.investorstatelawguide.com/*
// @match app.nkoda.com/*
// @match arbitrationlaw.com/*
// @match arc.aiaa.org/*
// @match ascelibrary.org/*
// @match asmedigitalcollection.asme.org/*
// @match authorservices.wiley.com/*
// @match bibliographies.brillonline.com/*
// @match booksandjournals.brillonline.com/*
// @match brill.com/*
// @match bsol.bsigroup.com/*
// @match bwl2.alexanderstreet.com/*
// @match cancerres.aacrjournals.org/*
// @match ccohsid.ccohs.ca/*
// @match ci.nii.ac.jp/*
// @match country.eiu.com/*
// @match currentprotocols.onlinelibrary.wiley.com/*
// @match daniels-orchestral.com/*
// @match data.eiu.com/*
// @match db.degruyter.com/*
// @match direct.mit.edu/*
// @match dl.acm.org/*
// @match edu.digitaltheatreplus.com/*
// @match edu.medici.tv./*
// @match eena.alexanderstreet.com/*
// @match elgaronline.com/*
// @match elib.maruzen.co.jp/*
// @match epubs.siam.org/*
// @match esi.clarivate.com/*
// @match experiments.springernature.com/*
// @match find.galegroup.com/*
// @match gateway.ovid.com/*
// @match gdc.galegroup.com/*
// @match global.factiva.com/*
// @match go.gale.com/*
// @match gongjushu.oversea.cnki.net/*
// @match guji.unihan.com.cn/*
// @match hanchi.ihp.sinica.edu.tw/*
// @match heinonline.org/*
// @match hstalks.com/*
// @match hunteq.com/*
// @match icsd.fiz-karlsruhe.de/*
// @match ieeexplore.ieee.org/*
// @match informahealthcare.com/*
// @match infotrac.gale.com/*
// @match infotrac.galegroup.com/*
// @match infoweb.newsbank.com/*
// @match insights.patsnap.com/*
// @match inspiration.detail.de/*
// @match intelliconnect.cch.com/*
// @match intelliconnect.wkasiapacific.com/*
// @match iopscience.iop.org/*
// @match jamaevidence.mhmedical.com/*
// @match jamanetwork.com/*
// @match jcr.clarivate.com/*
// @match journals.aps.org/*
// @match journals.asm.org/*
// @match journals.bmj.com/*
// @match journals.sagepub.com/*
// @match journals.spiedigitallibrary.org/*
// @match js.sagamorepub.com/*
// @match jt-archives.jp/*
// @match jusmundi.com/*
// @match justis.vlex.com/*
// @match lib.nus.edu.sg/*
// @match libproxy1.nus.edu.sg/*
// @match library.artstor.org/*
// @match linc.nus.edu.sg/*
// @match link.gale.com/*
// @match link.galegroup.com/*
// @match link.springer.com/*
// @match login.ihserc.com/*
// @match matdata.asminternational.org/*
// @match materials.springer.com/*
// @match mathscinet.ams.org/*
// @match mathworld.wolfram.com/*
// @match member.frost.com/*
// @match methods.sagepub.com/*
// @match muse.jhu.edu/*
// @match naturalmedicines.therapeuticresearch.com/*
// @match nus.NaxosMusicLibrary.com/*
// @match nus.naxosvideolibrary.com/*
// @match nwld.alexanderstreet.com/*
// @match olrl.ouplaw.com/*
// @match online.sagepub.com/*
// @match onlinelibrary.wiley.com/*
// @match opil.ouplaw.com/*
// @match orbis.bvdinfo.com/*
// @match orlando.cambridge.org/*
// @match osapublishing.org/*
// @match oversea.cnki.net/*
// @match ovidsp.ovid.com/*
// @match oxfordmedicine.com/*
// @match papers.nber.org/*
// @match parlipapers.chadwyck.co.uk/*
// @match parlipapers.proquest.com/*
// @match philpapers.org/*
// @match plants.jstor.org/*
// @match pm.nlx.com/*
// @match primarysources.brillonline.com/*
// @match procedures.lww.com/*
// @match projecteuclid.org/*
// @match pubmed.ncbi.nlm.nih.gov/*
// @match pubs.acs.org/*
// @match pubs.rsc.org/*
// @match pubsonline.informs.org/*
// @match pubs-rsc-org.libproxy1.nus.edu.sg/*
// @match quod.lib.umich.edu./*
// @match rclweb.net/*
// @match referenceworks.brillonline.com/*
// @match research.ibfd.org/*
// @match royalsocietypublishing.org/*
// @match saemobilus.sae.org/*
// @match sali.alexanderstreet.com/*
// @match scifinder-n.cas.org/*
// @match scitation.aip.org/*
// @match scival.com/*
// @match sds-ccohs-ca.libproxy1.nus.edu.sg/*
// @match search.alexanderstreet.com/*
// @match search.ebscohost.com/*
// @match search.proquest.com/*
// @match search-proquest-com.libproxy1.nus.edu.sg/*
// @match secure.astm.org/*
// @match signon.onesource.com/*
// @match sk.sagepub.com/*
// @match southasiacommons.net/*
// @match spd.cambridge.org/*
// @match spiedigitallibrary.org/*
// @match stephanus.tlg.uci.edu/*
// @match tll.degruyter.com/*
// @match universitypublishingonline.org/*
// @match video.alexanderstreet.com/*
// @match viewpoint.eiu.com/*
// @match webofknowledge.com/*
// @match worldcompetitiveness.imd.org/*
// @match www.18thcjournals.amdigital.co.uk/*
// @match www.airitilibrary.com/*
// @match www.aluka.org/*
// @match www.ams.org/*
// @match www.annualreviews.org/*
// @match www.apabi.com/*
// @match www.aps.org/*
// @match www.arabidopsis.org/*
// @match www.archivesdirect.amdigital.co.uk/*
// @match www.arkyves.org/*
// @match www.artstor.org/*
// @match www.biologists.com/*
// @match www.bloomsburyvideolibrary.com/*
// @match www.bmj.com/*
// @match www.caixinglobal.com/*
// @match www.cambridge.org/*
// @match www.chemnetbase.com/*
// @match www.chicagomanualofstyle.org/*
// @match www.china.amdigital.co.uk/*
// @match www.chinacultureandsociety.amdigital.co.uk/*
// @match www.churchmissionarysociety.amdigital.co.uk/*
// @match www.ciaonet.org/*
// @match www.clinicalkey.com/*
// @match www.cljlaw.com/*
// @match www.cnbksy.com/*
// @match www.cochranelibrary.com/*
// @match www.colonialcaribbean.amdigital.co.uk/*
// @match www.db.dyabola.de/*
// @match www.degruyter.com/*
// @match www.digitaltheatreplus.com/*
// @match www.earlymodernengland.amdigital.co.uk/*
// @match www.eastindiacompany.amdigital.co.uk/*
// @match www.e-enlightenment.com/*
// @match www.eiu.com/*
// @match www.elsevier.com/*
// @match www.embase.com/*
// @match www.emerald.com/*
// @match www.empire.amdigital.co.uk/*
// @match www.engineeringvillage.com/*
// @match www.engineeringvillage2.org/*
// @match www.ethnomusicology.amdigital.co.uk/*
// @match www.exploration.amdigital.co.uk/*
// @match www.firstworldwar.amdigital.co.uk/*
// @match www.foodanddrink.amdigital.co.uk/*
// @match www.futuremedicine.com/*
// @match www.gender.amdigital.co.uk/*
// @match www.genderidentityandsocialchange.amdigital.co.uk/*
// @match www.globalcommodities.amdigital.co.uk/*
// @match www.heinonline.org/*
// @match www.hstalks.com/*
// @match www.humanitiesebook.org/*
// @match www.iareporter.com/*
// @match www.icevirtuallibrary.com/*
// @match www.iclr.co.uk/*
// @match www.icpsr.umich.edu/*
// @match www.igi-global.com/*
// @match www.i-law.com/*
// @match www.indiaraj.amdigital.co.uk/*
// @match www.Indiastat.com/*
// @match www.ingentaconnect.com/*
// @match www.investorstatelawguide.com/*
// @match www.iwaponline.com/*
// @match www.jerseylaw.je/*
// @match www.journals.asm.org/*
// @match www.journals.uchicago.edu/*
// @match www.jove.com/*
// @match www.jstor.org/*
// @match www.karger.com/*
// @match www.kluwerarbitration.com/*
// @match www.lawdata.com.tw/*
// @match www.lawlanka.com/*
// @match www.lawnet.sg/*
// @match www.liebertonline.com/*
// @match www.litencyc.com/*
// @match www.loebclassics.com/*
// @match www.manupatrafast.in/*
// @match www.massobservationproject.amdigital.co.uk/*
// @match www.materialconnexion.online/*
// @match www.medievaltravel.amdigital.co.uk/*
// @match www.methodsnow.com/*
// @match www.micromedexsolutions.com/*
// @match www.migration.amdigital.co.uk/*
// @match www.mitpressjournals.org/*
// @match www.morganclaypool.com/*
// @match www.msi.org/*
// @match www.nature.com/*
// @match www.nber.org/*
// @match www.ncbi.nlm.nih.gov/*
// @match www.nejm.org/*
// @match www.nrcresearchpress.com/*
// @match www.nybooks.com/*
// @match www.obhe.ac.uk/*
// @match www.oecd-ilibrary.org/*
// @match www.oed.com/*
// @match www.onarchitecture.com/*
// @match www.onepetro.org/*
// @match www.opticsinfobase.org/*
// @match www.oxfordartonline.com/*
// @match www.oxfordbibliographies.com/*
// @match www.oxforddnb.com/*
// @match www.oxfordjournals.org/*
// @match www.oxfordmusiconline.com/*
// @match www.oxfordreference.com/*
// @match www.oxfordscholarlyeditions.com/*
// @match www.oxfordscholarship.com/*
// @match www.pdcnet.org/*
// @match www.pkulaw.com/*
// @match www.portal.euromonitor.com/*
// @match www.proquest.com/*
// @match www.reaxys.com/*
// @match www.researchsource.amdigital.co.uk/*
// @match www.responsa.co.il/*
// @match www.rsc.org/*
// @match www.rsmpress.co.uk/*
// @match www.rupress.org./*
// @match www.sciencedirect.com/*
// @match www.sciencemag.org/*
// @match www.scopus.com/*
// @match www.servicenewspapers.amdigital.co.uk/*
// @match www.singaporestandardseshop.sg/*
// @match www.socialismonfilm.amdigital.co.uk/*
// @match www.springer.com/*
// @match www.ssrn.com/*
// @match www.statista.com/*
// @match www.tandfonline.com/*
// @match www.the-scientist.com/*
// @match www.thieme-connect.com/*
// @match www.tripdatabase.com/*
// @match www.universitypressscholarship.com/*
// @match www.uptodate.com/*
// @match www.ura.gov.sg/*
// @match www.worldreligiondatabase.org/*
// @match www.worldscientific.com/*
// @match www.worldtradelaw.net/*
// @match www-annualreviews-org.libproxy1.nus.edu.sg/*
// @match www-aps-org.libproxy1.nus.edu.sg/*
// @match www-atsjournals-org.libproxy1.nus.edu.sg/*
// @match ybio.brillonline.com/*
// @description 2022/02/12 22:00:29
// ==/UserScript==
(function() {
'use strict';
var url = window.location.href;
console.log("url:",url);
var username = ""; //input your username here (such as nusstu\\e0000001) to access the website which need to click the "Find it! @NUS Library" Link without manually click
var password = ""; //input your password here to access the website which need to click the "Find it! @NUS Library" Link without manually click
if(url.indexOf("vafs") >=0){
if(username!=""){
document.querySelector("#userNameInput").value = username;
}
if(password!=""){
document.querySelector("#passwordInput").value = password;
}
setTimeout(function(){document.querySelector("#submitButton").click();},500);
}
if(url.indexOf("nus") >=0 || url.indexOf("proxy") >=0){
setTimeout(function(){document.querySelector("#aup").click()},500);
setTimeout(function(){document.querySelector("#btn_nus").click()},1000);
} else {
location.href = "http://libproxy1.nus.edu.sg/login?url=" + location.href;
}
})();