Skip to content

Instantly share code, notes, and snippets.

@Vazkii
Created November 8, 2019 08:34
Show Gist options
  • Save Vazkii/cbb9b5f038ab989caa99970c5487686d to your computer and use it in GitHub Desktop.
Save Vazkii/cbb9b5f038ab989caa99970c5487686d to your computer and use it in GitHub Desktop.
Userscript to hide fabric mods (use with Tampermonkey or any other userscript plugin)
// ==UserScript==
// @name Hide Fabric Mods
// @version 1.0
// @description Hides fabric mods from CurseForge
// @author Vazkii
// @match https://www.curseforge.com/minecraft/mc-mods*
// ==/UserScript==
(function() {
'use strict';
$('.project-listing-row').each(function(e) {
if($(this).find('a[href="/minecraft/mc-mods/fabric"]').length > 0)
$(this).hide();
});
})();
@thisisACat5
Copy link

How do I use install this to Tempermonkey?

@ClockwerkKaiser
Copy link

It seems a new curse website update just broke this script this week. They removed the "href" from the fabric icons.

I forked and made a small change to the script to make it work again.

@R4z0rX
Copy link

R4z0rX commented Jan 8, 2022

CurseForge has a Filter for that, but it's kinda crappy. Anyway, I'll use it to filter Forge mods. 😜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment