Last active
June 9, 2025 19:25
-
-
Save Esl1h/0b93c5d94da4e01bdbe133d9f9a3c7ca to your computer and use it in GitHub Desktop.
Brave Browser - Custom Filters and Scriplets
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
// On Brave Browser Go to brave://settings/shields/filters | |
// | |
// Filters | |
app.1min.ai##.css-nqmzah.ant-float-btn.sc-fWSCoS.jUFNLE.ant-float-btn-default.ant-float-btn-square > .ant-float-btn-body | |
emojipedia.org###FreeStarVideoAdContainer | |
emojipedia.org##.flex.flex-row.justify-center.items-center.flex-wrap | |
theoldreader.com###tor-ad-wrapper | |
theoldreader.com##.banner-inner | |
theoldreader.com###in-feed-ad | |
theoldreader.com##div#in-feed-ad-container:nth-of-type(3) | |
theoldreader.com##div#in-feed-ad-container:nth-of-type(15) | |
theoldreader.com###tor-in-feed-ad-container | |
theoldreader.com###banner_container | |
www.wikiwand.com##.settings_settings__RFQpL | |
www.wikiwand.com##.intro_footer__Fpzqw | |
www.wikiwand.com##.intro_header__mivQX | |
www.wikiwand.com##.intro_content__hRkj_ | |
www.wikiwand.com##.intro_wrapper__bEjtR | |
instagram.com##+js(user-redirect-instagram.js) | |
// Scriptlets | |
// name: user-redirect-instagram.js | |
const url = new URL(location); | |
// Instagram's login page | |
if (url.pathname.startsWith('/accounts/login/') && url.searchParams.has('next')) { | |
const next = url.searchParams.get('next'); | |
location = 'https://imginn.com' + next; | |
} else { | |
// For non-login instagram pages, just swap the domain. | |
url.hostname = 'imginn.com'; | |
location = url; | |
} | |
// EoF user-redirect-instagram.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Outdated.
I move to a new repo: https://github.com/Esl1h/Brave-Filters-and-Scriptlets