Button available just after a purchase
This commit is contained in:
parent
74b5ed5eff
commit
265771779d
1 changed files with 2 additions and 1 deletions
|
|
@ -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.');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue