Skip to content

Commit

Permalink
Fix Scopus search (#3420)
Browse files Browse the repository at this point in the history
Closes #3419
  • Loading branch information
adam3smith authored Feb 20, 2025
1 parent 60a7cb7 commit fcad450
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Scopus.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2023-08-25 02:42:41"
"lastUpdated": "2025-02-19 17:52:55"
}

/*
Expand Down Expand Up @@ -48,7 +48,8 @@ function getEID(url) {
function getSearchResults(doc, checkOnly) {
var items = {};
var found = false;
var rows = doc.querySelectorAll('tr[id *= resultDataRow] td a[title = "Show document details"], tr[class *= "resultsRow"] h4 a[title = "Show document details"], div.table-title h4 a');
// Last version added 2025-02-19 -- not clear we need the others still
var rows = doc.querySelectorAll('tr[id *= resultDataRow] td a[title = "Show document details"], tr[class *= "resultsRow"] h4 a[title = "Show document details"], div.table-title h4 a, div.document-results-list-layout table h3 a');
for (var i = 0; i < rows.length; i++) {
var href = rows[i].href;
var title = ZU.trimInternal(rows[i].textContent);
Expand Down

0 comments on commit fcad450

Please sign in to comment.