Slavart Qobuz Artist Link Script

Copy and paste this userscript into your userscript manager (e.g Violentmonkey)

// ==UserScript==
// @name        qobuz_artist_slavart
// @namespace   c213
// @match       https://www.qobuz.com/*/interpreter/*/*
// @grant       none
// @version     1.0
// @author      c213
// @description 6/23/2022, 8:12:00 PM
// @include https://code.jquery.com/jquery-3.6.0.min.js
// ==/UserScript==

let id=$('.catalog-headingbuttons a')[0].href.replace("qobuzapp://artist/","");function main(){$('.catalog-headingbuttons').append(
<a class="catalog-heading__button" style="padding: 20px; margin-left: 1rem; cursor: pointer;" id="slavArt" type="button" > <img src="https://slavart.gamesdrive.net/favicon.ico" width="24px"/> Copy Slav Art link
</a>
);$("#slavArt").on("click",function(){navigator.clipboard.writeText(https://play.qobuz.com/artist/${ id });$("#slavArt").html("Copied!");setTimeout(function(){$("#slavArt").html('<img src="https://slavart.gamesdrive.net/favicon.ico" width="24px"/> Copy Slav Art link')},2000)})}main();
Edit
Pub: 01 Mar 2023 12:55 UTC
Views: 5921