Created
April 29, 2026 08:19
-
-
Save DavidArsene/c62e80232c98786b1005da5f0d02e580 to your computer and use it in GitHub Desktop.
nixpkgs filter userscript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name nixpkgs filter | |
| // @version 2026-03-24 | |
| // @description make commit history readable | |
| // @author DavidArsene | |
| // @match https://github.com/NixOS/nixpkgs/commits/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=github.com | |
| // @grant none | |
| // @run-at document-idle | |
| // ==/UserScript== | |
| const filter = [ | |
| " -> ", | |
| "python3" | |
| ] | |
| .map(sel => `li[aria-label*="${sel}"]`) | |
| .join(", "); | |
| for (const el in document.querySelectorAll(filter)) { | |
| el.remove() | |
| } | |
| // TODO: mutation observer for spa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment