Skip to content

Instantly share code, notes, and snippets.

View mb_HIDE-LABEL-COMMENTS.user.css
/* ==UserStyle==
@name mb. HIDE LABEL COMMENTS
@namespace https://github.com/jesus2099/konami-command
@version 2021.6.23
@description Hide label disambiguation comments
@author jesus2099
@since 2017
==/UserStyle== */
@-moz-document domain("musicbrainz.org") {
View origin-test.user.js
// ==UserScript==
// @name httpbin.org/post XMLHttpRequest Origin header test
// @description Origin is null in Greasemonkey https://github.com/greasemonkey/greasemonkey/issues/3111
// @version 1
// @author jesus2099
// @grant none
// @match *://httpbin.org/*
// ==/UserScript==
var xhr = new XMLHttpRequest();
xhr.addEventListener("load", function(event) {
@jesus2099
jesus2099 / mb_ACOUSTICBRAINZ-LINKS.user.js
Last active Jul 16, 2020
Display AcousticBrainz links in release pages
View mb_ACOUSTICBRAINZ-LINKS.user.js
View gist:c7a796418a3e3829807ebd51470109ff
// The bookmarklet you can find online for bugmenot doesn't work. Looks like
// bugmenot now wants just the hostname instead of the full url. Here's one
// that works.
javascript:(function() { var url = ('http://www.bugmenot.com/view/' + escape(location.hostname)); w = open(url, 'w', 'location=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=500,height=400,modal=yes,dependent=yes'); if (w) { setTimeout('w.focus()', 1000) } else { location = url } })();
@jesus2099
jesus2099 / mf2mb-isrc.user.js
Last active Feb 28, 2016 — forked from kepstin/mf-isrc-https.user.js
Import ISRC from 音楽の森 to MusicBrainz release
View mf2mb-isrc.user.js
// ==UserScript==
// @name MusicBrainz: Search Music Forest and add ISRCs
// @version 2013.0527.1631
// @description This adds a link to Music Forest next to catalogue numbers on release pages and a link on the Music Forest page to add the ISRCs
// @namespace df069240-fe79-11dc-95ff-0800200c9a66
// @updateURL https://raw.github.com/gist/3999676
// @downloadURL https://raw.github.com/gist/3999676
// @author nikki/kepstin(2011-12-03)+jesus2099(later)
// @licence CC BY-NC-SA 3.0 FR (http://creativecommons.org/licenses/by-nc-sa/3.0/fr/)
// @grant none
@jesus2099
jesus2099 / gist:8580947
Last active Jan 4, 2016
(OBSOLETE) MusicBrainz bookmarklet : “search→replace”
View gist:8580947
javascript:function sr(s,r){var ins=document.querySelectorAll("input[type='text'][name$='name']:not([value='']),input[type='text'][class$='name']:not([value=''])");for(var i=0;i<ins.length;i++){var v=s.match(/^\/.+\/[gi]*$/)?ins[i].value.replace(eval(s),r):ins[i].value.split(s).join(r);ins[i].style.removeProperty("background-color");if(ins[i].value!=v){ins[i].value=v;ins[i].style.setProperty("background-color","yellow");ins[i].focus();}}}void(sr(prompt("search\n\neither regex (case *i*nsensitive and *g*lobal are optional flags): /regex/ig\n\nor normal (case sensitive and global): My String"),prompt("replace")));
View _mb. RANDOM RG for cats.user.js
// ==UserScript==
// @name mb. RANDOM RG for cats
// @version 2013.0605.1111
// @description musicbrainz.org: provides a random release group link from an artist page
// @namespace https://gist.github.com/jesus2099/5697130
// @author Tristan DANIEL (PATATE12 aka. jesus2099/shamo)
// @licence CC BY-NC-SA 3.0 FR (http://creativecommons.org/licenses/by-nc-sa/3.0/fr/)
// @requester ZaphodBeeblebrox
// @since 2013.6.3.
// @grant none
View mb.user.css
@charset "utf-8";
/*spot AC*/
span.name-variation { border-bottom: 2px dashed maroon; }
/*spot CAA pics and white space around CAA pics*/
a.artwork-image > img { box-shadow: 0 0 8px black; }
@jesus2099
jesus2099 / nomore-a-in-h1-please.user.js
Last active Oct 13, 2015
Freso special: mb. NO MORE <A> IN <H1> PLEASE
View nomore-a-in-h1-please.user.js
// ==UserScript==
// @name mb. NO MORE <A> IN <H1> PLEASE
// @version 2013.0205.1554
// @description musicbrainz.org: Remove all anchors from primary headers (special script for Freso, can be incompatible with other scripts relying on <h1>'s <a>)
// @namespace jesus2099/shamo
// @author Tristan DANIEL (PATATE12 aka. jesus2099/shamo)
// @licence CC BY-NC-SA 3.0 FR (http://creativecommons.org/licenses/by-nc-sa/3.0/fr/)
// @grant none
// @match *://musicbrainz.org/*
// @match *://beta.musicbrainz.org/*
@jesus2099
jesus2099 / autoselect-experiment.user.js
Created Nov 19, 2012
autoselecting normal text on mouse hover experiment (works after 666 milliseconds)
View autoselect-experiment.user.js
// ==UserScript==
// @name MB. entity icons + shorten and embelish MB links
// @version 2012.1105.1202+autoselect
// @description musicbrainz.org: In some pages like edits, blog, forums, chatlogs, tickets, annotations, etc. it will prefix entity links with an icon, shorten and embelish all sorts of MB links (entities, tickets, bugs, edits, etc.).
// @namespace http://userscripts.org/scripts/show/131731
// @author Tristan DANIEL (PATATE12 aka. jesus2099/shamo)
// @licence CC BY-NC-SA 3.0 FR (http://creativecommons.org/licenses/by-nc-sa/3.0/fr/)
// @grant none
// @match *://*.musicbrainz.org/*
// @run-at document-end