Button available just after a purchase

This commit is contained in:
Fabien O 2025-05-08 13:41:01 +02:00
parent 74b5ed5eff
commit 265771779d

View file

@ -1,7 +1,8 @@
// Do not execute script outside of a Qobuz album download page
if (
window.location.hostname !== 'www.qobuz.com'
|| window.location.pathname.search('/account/download/') === -1
||
window.location.pathname.search('/(account|order)/download/') === -1
) {
throw new Error('[Warning] QoAllDown: Bad hostname or URL, stopping execution.');
}