Automatically sorting Discogs master release pages by country:
- First download and install Tampermonkey from https://tampermonkey.net/
- Once it’s installed, open the extension menu and click “Create new script”
- Paste the Javascript code below into the editor and click File > Save
(replace everything that’s there with this code)
// ==UserScript== // @name Β Β Β Β Discogs Master Release Default Sort By Country // @namespace Β Β https://www.discogs-enhancer.com // @version Β Β Β 0.1 // @description Β Set MR release link to include custom filters by default // @author Β Β Β Matthew Salcido (discogs.enhancer@gmail.com) // @match Β Β Β Β https://www.discogs.com/* // @grant Β Β Β Β none // ==/UserScript== (function() { Β Β 'use strict'; Β Β const links = [...document.querySelectorAll('a')]; Β Β links.forEach(link => { Β Β Β Β if (link.href.includes('/master/')) { Β Β Β Β Β link.href += '?sort=country&sort_order='; Β Β Β Β } Β Β }); })();







