Make script work

This commit is contained in:
Lukáš Kucharczyk 2022-12-06 12:55:05 +01:00
parent 7c546b03f2
commit 7a82c1f5de
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 7 additions and 8 deletions

View File

@ -2,14 +2,13 @@
// @name Import Deezer releases into MusicBrainz // @name Import Deezer releases into MusicBrainz
// @namespace https://github.com/murdos/musicbrainz-userscripts/ // @namespace https://github.com/murdos/musicbrainz-userscripts/
// @description One-click importing of releases from deezer.com into MusicBrainz // @description One-click importing of releases from deezer.com into MusicBrainz
// @version 2019.1.30.1 // @version 2022.12.6.1
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/deezer_importer.user.js // @downloadURL https://git.kucharczyk.xyz/lukas/userscripts/raw/branch/main/deezer_importer/deezer_importer.user.js
// @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/deezer_importer.user.js // @match http*://www.deezer.com/*/album/*
// @include http*://www.deezer.com/*/album/*
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js // @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js
// @require lib/mbimport.js // @require https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/lib/mbimport.js
// @require lib/logger.js // @require https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/lib/logger.js
// @require lib/mbimportstyle.js // @require https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/lib/mbimportstyle.js
// @icon https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/assets/images/Musicbrainz_import_logo.png // @icon https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/assets/images/Musicbrainz_import_logo.png
// @grant GM_xmlhttpRequest // @grant GM_xmlhttpRequest
// @grant GM.xmlHttpRequest // @grant GM.xmlHttpRequest
@ -140,6 +139,6 @@ function insertLink(release, release_url) {
</div>` </div>`
).hide(); ).hide();
$('div.toolbar-wrapper-full').append(mbUI); $('.page-topbar').append(mbUI);
mbUI.show(); mbUI.show();
} }