Skip to content

Commit

Permalink
EBSCO DL - More URL changes (#3192)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam3smith authored Nov 27, 2023
1 parent eb9fca0 commit db2771d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EBSCO Discovery Layer.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-09-16 00:45:19"
"lastUpdated": "2023-11-27 04:12:52"
}

/*
Expand All @@ -35,7 +35,7 @@
***** END LICENSE BLOCK *****
*/

const itemRegex = /\/c\/([^/]+)\/(?:details|viewer\/pdf)\/([^?]+)/;
const itemRegex = /\/c\/([^/]+)(?:\/search)?\/(?:details|viewer\/pdf)\/([^?]+)/;
function detectWeb(doc, url) {
if (itemRegex.test(url)) {
if (url.includes("/viewer/pdf")) {
Expand Down

0 comments on commit db2771d

Please sign in to comment.