diff --git a/injected.js b/injected.js index 7bfc111..50af1ed 100644 --- a/injected.js +++ b/injected.js @@ -13,7 +13,7 @@ // Gather data let scoreContainer = document.querySelector("img[src*=score_]")?.parentElement?.parentElement; - let pageCount = scoreContainer?.querySelectorAll(".gXB83")?.length; + let pageCount = scoreContainer?.querySelectorAll("._2uWw4")?.length; let urls = []; // Check data for errors diff --git a/manifest.json b/manifest.json index 0d481af..1c4d04f 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Musescore Downloader", - "version": "1.0.1", + "version": "1.0.2", "description": "Download PDFs from Musescore.", "permissions": ["*://musescore.com/*", "*://s3.ultimate-guitar.com/*", "downloads"], "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",