Skip to content

Commit 2334a13

Browse files
committed
handle ERX too
1 parent d48ab94 commit 2334a13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contentScript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function processPage() {
8484
console.log('Processing page...');
8585

8686
// Get the Experiment ID
87-
const experimentLink = document.querySelector('a[href^="/sra/SRX"]');
87+
const experimentLink = document.querySelector('a[href^="/sra/SRX"], a[href^="/sra/ERX"]');
8888
const experimentID = experimentLink ? experimentLink.textContent.trim() : null;
8989

9090
// Get the BioProject

0 commit comments

Comments
 (0)