Skip to content

Instantly share code, notes, and snippets.

@mathielo
Last active February 6, 2023 11:57
Show Gist options
  • Save mathielo/cedc41b3d088716ff53457fc0c676e8e to your computer and use it in GitHub Desktop.
Save mathielo/cedc41b3d088716ff53457fc0c676e8e to your computer and use it in GitHub Desktop.
[Tampermonkey] Hide completed achievements from Steam's achievement list
// ==UserScript==
// @name Steam AchievEnhancer
// @description Hides unlocked achievements to make it easier to track locked achievements
// @namespace https://mathielo.com/
// @homepage https://gist.github.com/mathielo/cedc41b3d088716ff53457fc0c676e8e
// @version 0.1
// @author mathielo
// @match https://steamcommunity.com/stats/*/achievements
// @match https://steamcommunity.com/stats/*/achievements/
// @icon https://steamcommunity.com/favicon.ico
// @grant none
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js
// ==/UserScript==
(function() {
'use strict';
// All games: Hide unlocked achievements
$('div.achieveRow.unlocked').hide();
// Witch It: Hide all "Reach Level" achievements
$('div.achieveTxt > h5:contains("Reach Level")').closest('div.achieveRow').hide();
// Civ 5 - Scenario achievements
$('div.achieveRow > div.achieveTxtHolder > div.achieveTxt > h5:contains("scenario")').closest('div.achieveRow').css('opacity', 0.5)
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment