Last active
November 23, 2025 07:54
-
-
Save Hypfer/6f10fadbc1aacf540c39eadef7661bb3 to your computer and use it in GitHub Desktop.
This userscript hides the nagging notification boxes that remind you that you've enabled interaction limits on a repo or account
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 Hide Github Interaction Limits Nagging Notifications | |
| // @namespace Violentmonkey Scripts | |
| // @match https://github.com/** | |
| // @grant none | |
| // @version 2.1 | |
| // @author - | |
| // @description Removes interaction limit banners based on link targets | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| function removeNag() { | |
| const triggers = document.querySelectorAll('a[href*="/settings/interaction_limits"]'); | |
| for (const trigger of triggers) { | |
| const banner = trigger.closest('.flash, [class*="Flash"], [class*="OverviewHeader"]'); | |
| if (banner && banner.textContent.toLowerCase().includes('interaction limit')) { | |
| banner.remove(); | |
| } | |
| } | |
| } | |
| removeNag(); | |
| new MutationObserver(() => { | |
| removeNag(); | |
| }).observe(document.body, { childList: true, subtree: true }); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment