Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Enhance my leetcode experience
// ==UserScript==
// @name Leetcode Enhancer
// @namespace http://www.github.com/imcoddy
// @version 0.1.1
// @description Enhance leetcode website
// @author imcoddy
// @match https://leetcode.com/problemset/algorithms/
// @match https://leetcode.com/problems/*
// @match https://leetcode.com/tag/*
// @grant none
// ==/UserScript==
// hide locked problems
$('.fa-lock').parent().parent().hide();
// hide sidebar except last one (tag)
$('.row.sidebar-module:not(:last-child)').each(function(i){
$(this).hide();
});
$('#interviewed_div').hide();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment