Last active
September 29, 2025 03:46
-
-
Save jaihysc/ed7d8153269a54500698f5a0f64350ab to your computer and use it in GitHub Desktop.
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
| ! Title: jaihysc filters | |
| ! Expires: 7 days | |
| ! Description: Filters I accumulated during everyday use | |
| ! Homepage: https://gist.githubusercontent.com/jaihysc/ed7d8153269a54500698f5a0f64350ab/raw/filterlist | |
| ! a2l | |
| ! Gets rid of anti-highlight, no-print | |
| avenue.cllmcmaster.ca/d2l/common/js/D2L.LP.Web.Page.DisableRightClick.js* | |
| avenue.cllmcmaster.ca/d2l/common/js/D2L.LP.Web.Page.DisablePrint.js* | |
| avenue.cllmcmaster.ca/d2l/common/js/babel/D2L.LP.Web.Page.DisableRightClick.js* | |
| avenue.cllmcmaster.ca/d2l/common/js/babel/D2L.LP.Web.Page.DisablePrint.js* | |
| ! Sets anime background | |
| avenue.mcmaster.ca##+js(fetch-background) | |
| ! Remove the images at top and bottom | |
| avenue.mcmaster.ca###thelogo:style(opacity: 0 !important) | |
| avenue.mcmaster.ca###foot_wrap:remove() | |
| ! Fix the white maintenance box being too high | |
| avenue.mcmaster.ca###maintenance:style(height: auto !important) | |
| avenue.mcmaster.ca###maintenance:style(overflow: hidden !important) | |
| ! Altium, cookie popup | |
| altium.com###onetrust-consent-sdk:remove() | |
| ! libretexts, Gets rid of sidebar | |
| libretexts.org###sbHeader:style(display: none !important) | |
| ! MacDrive, Removes UI elements that just take up space for no reason | |
| macdrive.mcmaster.ca##.shared-file-view-md-header:remove() | |
| macdrive.mcmaster.ca##.shared-file-view-md-main:style(height: 100% !important) | |
| ! Mosaic anime style | |
| ! Background | |
| epprd.mcmaster.ca##+js(fetch-background) | |
| ! Make main menu transparent | |
| ! Make "Mosaic" text transparnet | |
| ! Get rid of top image (McMaster state) | |
| epprd.mcmaster.ca##.main_section:style(backgroundColor: transparent !important) | |
| epprd.mcmaster.ca###mosaic_title:style(color: transparent !important) | |
| epprd.mcmaster.ca###logo_bar img:first-child:remove() | |
| ! Oscarplus, make not make my eyes bleed every time I look at it | |
| ! Remove the loading screen | |
| www.oscarplusmcmaster.ca###loader-wrapper:remove() | |
| ! Remove the slide show | |
| www.oscarplusmcmaster.ca###slides:remove() | |
| ! Center the login button | |
| www.oscarplusmcmaster.ca##.lp__footer:style(margin-bottom: 50vh) | |
| ! Remove the copyright text | |
| www.oscarplusmcmaster.ca##.lp__footer__copyright-text:remove() | |
| ! Fix the unsymmetrical padding around login button | |
| www.oscarplusmcmaster.ca##.lp__footer__copyright:style(padding-right: 16px !important) | |
| ! Make the div containing the login span full width | |
| www.oscarplusmcmaster.ca##.lp__footer__user-buttons:style(display: block; width: 100%) | |
| ! Make the login button full width | |
| www.oscarplusmcmaster.ca##.lp__footer__user-buttons .btn__default:style(display: block; width: 100%; text-align: center !important) | |
| ! stackexchange and friends | |
| ! Get rid of sidebar, make mainbar span full width | |
| stackoverflow.com,stackexchange.com,superuser.com###left-sidebar:remove() | |
| stackoverflow.com,stackexchange.com,superuser.com###sidebar:remove() | |
| stackoverflow.com,stackexchange.com,superuser.com###mainbar:style(width: 100% !important) | |
| ! Get rid of cookies window | |
| stackoverflow.com,stackexchange.com,superuser.com##.js-consent-banner:remove() | |
| ! Get rid of prompt to join stack exchange | |
| stackoverflow.com,stackexchange.com,superuser.com##.js-dismissable-hero:remove() | |
| ! Wikipedia fundraising banners | |
| wikipedia.org###frb-main:remove() | |
| wikipedia.org###frb-inline:remove() | |
| wikipedia.org##.frb:remove() | |
| ! Google AI overviews | |
| google.com##.YzCcne | |
| www.google.*##[role="navigation"] [role="list"]>[role="listitem"]:has([href^="/search"][href*="&udm=50"]) |
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
| /// fetch-background.js | |
| // example.com##+js(fetch-background) | |
| (() => { | |
| 'use strict'; | |
| const doEval = (ev) => { | |
| if (ev) { window.removeEventListener(ev.type, doEval, true); } | |
| try { | |
| const pages = 366; | |
| let url = new URL('https://danbooru.donmai.us/posts.json'); | |
| url.searchParams.append('page', String(Math.floor(Math.random() * (pages - 1) + 1))); | |
| url.searchParams.append('tags', 'is:general pool:3020 mpixels:>2 limit:1'); | |
| fetch(url) | |
| .then((response) => response.json()) | |
| .then((data) => { | |
| let style = document.querySelector('body').style; | |
| style.backgroundImage = `url('${data[0].file_url}')`; | |
| style.backgroundSize = 'cover'; | |
| }); | |
| } catch { } | |
| }; | |
| if (document.readyState === 'complete') { | |
| doEval(); | |
| } else { | |
| window.addEventListener('load', doEval, true); | |
| } | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment