144 lines
6.1 KiB
Nix
144 lines
6.1 KiB
Nix
# uBlock Origin extension settings
|
|
# Addon ID: uBlock0@raymondhill.net
|
|
{ lib }:
|
|
{
|
|
force = true;
|
|
settings = {
|
|
userSettings = {
|
|
cloudStorageEnabled = true;
|
|
externalLists = builtins.concatStringsSep "\n" [
|
|
"https://abp.oisd.nl/"
|
|
"https://filters.adtidy.org/extension/ublock/filters/3.txt"
|
|
"https://gitflic.ru/project/magnolia1234/bypass-paywalls-clean-filters/blob/raw?file=bpc-paywall-filter.txt"
|
|
"https://raw.githubusercontent.com/DetachHead/ublock-filters/refs/heads/master/list.txt"
|
|
"https://raw.githubusercontent.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/main/list.txt"
|
|
];
|
|
importedLists = [
|
|
"https://abp.oisd.nl/"
|
|
"https://filters.adtidy.org/extension/ublock/filters/3.txt"
|
|
"https://gitflic.ru/project/magnolia1234/bypass-paywalls-clean-filters/blob/raw?file=bpc-paywall-filter.txt"
|
|
"https://raw.githubusercontent.com/DetachHead/ublock-filters/refs/heads/master/list.txt"
|
|
"https://raw.githubusercontent.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/main/list.txt"
|
|
];
|
|
popupPanelSections = 15;
|
|
prefetchingDisabled = false;
|
|
};
|
|
|
|
selectedFilterLists = [
|
|
"user-filters"
|
|
"ublock-filters"
|
|
"ublock-badware"
|
|
"ublock-privacy"
|
|
"ublock-quick-fixes"
|
|
"ublock-unbreak"
|
|
"easylist"
|
|
"adguard-generic"
|
|
"adguard-mobile"
|
|
"easyprivacy"
|
|
"adguard-spyware-url"
|
|
"block-lan"
|
|
"urlhaus-1"
|
|
"curben-phishing"
|
|
"plowe-0"
|
|
"dpollock-0"
|
|
"fanboy-cookiemonster"
|
|
"ublock-cookies-easylist"
|
|
"adguard-cookies"
|
|
"ublock-cookies-adguard"
|
|
"fanboy-social"
|
|
"adguard-social"
|
|
"fanboy-thirdparty_social"
|
|
"easylist-chat"
|
|
"easylist-newsletters"
|
|
"easylist-notifications"
|
|
"easylist-annoyances"
|
|
"adguard-mobile-app-banners"
|
|
"adguard-other-annoyances"
|
|
"adguard-popup-overlays"
|
|
"adguard-widgets"
|
|
"ublock-annoyances"
|
|
"SWE-1"
|
|
"https://filters.adtidy.org/extension/ublock/filters/3.txt"
|
|
"https://gitflic.ru/project/magnolia1234/bypass-paywalls-clean-filters/blob/raw?file=bpc-paywall-filter.txt"
|
|
"https://raw.githubusercontent.com/DetachHead/ublock-filters/refs/heads/master/list.txt"
|
|
"https://raw.githubusercontent.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/main/list.txt"
|
|
"https://abp.oisd.nl/"
|
|
];
|
|
|
|
whitelist = [
|
|
"chrome-extension-scheme"
|
|
"moz-extension-scheme"
|
|
];
|
|
|
|
dynamicFilteringString = builtins.concatStringsSep "\n" [
|
|
"behind-the-scene * * noop"
|
|
"behind-the-scene * inline-script noop"
|
|
"behind-the-scene * 1p-script noop"
|
|
"behind-the-scene * 3p-script noop"
|
|
"behind-the-scene * 3p-frame noop"
|
|
"behind-the-scene * image noop"
|
|
"behind-the-scene * 3p noop"
|
|
];
|
|
|
|
hostnameSwitchesString = builtins.concatStringsSep "\n" [
|
|
"no-large-media: behind-the-scene false"
|
|
"no-csp-reports: * true"
|
|
"no-scripting: arstechnica.com true"
|
|
"no-scripting: www.phoronix.com true"
|
|
"no-scripting: www.theatlantic.com true"
|
|
"no-scripting: wccftech.com true"
|
|
"no-remote-fonts: www.theverge.com true"
|
|
"no-scripting: www.theverge.com true"
|
|
"no-scripting: gamersnexus.net true"
|
|
];
|
|
|
|
"user-filters" = builtins.concatStringsSep "\n" [
|
|
# Annoying fonts warning because of localCDN
|
|
"docs.google.com##.jfk-butterBar-shown.jfk-butterBar-info.jfk-butterBar"
|
|
|
|
# remove phoronix premium ad
|
|
"www.phoronix.com##aside:nth-of-type(3)"
|
|
"www.phoronix.com##aside.widget:nth-of-type(4)"
|
|
|
|
# Remove instagram login screen
|
|
"www.instagram.com##.x1nhvcw1.x1oa3qoh.x1qjc9v5.xqjyukv.xdt5ytf.x2lah0s.x1c4vz4f.x1odjw0f.xw2csxc.x1n2onr6.xo71vjh.x5pf9jr.x13lgxp2.x168nmei.x78zum5.xjbqb8w.x9f619"
|
|
"www.instagram.com##.xl56j7k.x1iyjqo2.xdt5ytf.x78zum5.x9f619.x1qjc9v5"
|
|
"www.instagram.com##.x1jfb8zj.x1qrby5j.x1n2onr6.x7ja8zs.x1t2pt76.x1lytzrv.xedcshv.xarpa2k.x3igimt.x12ejxvf.xaigb6o.x1beo9mf.x1h91t0o.x4k7w5x.x1uvtmcs"
|
|
"www.instagram.com##.x1h0vfkc.x13vifvy.xixxii4.x17qophe.xds687c.x1ey2m1c"
|
|
"www.instagram.com##.x1n2onr6.xg6iff7.xippug5.xdt5ytf.x78zum5"
|
|
"www.instagram.com##.xzkaem6.x1n2onr6 > .xjx87ck.x1yqm8si.xfk6m8.xh8yej3.x13vifvy.x1rohswg.xixxii4.x1odjw0f.xw2csxc.x17qophe.x5yr21d.x1pq812k.x1ja2u2z.x9f619"
|
|
|
|
# remove github dashboard copilot stuff
|
|
"github.com##copilot-dashboard-entrypoint"
|
|
"github.com##.hide-md.hide-sm.AppHeader-CopilotChat > react-partial-anchor"
|
|
"github.com##react-partial-anchor > .AppHeader-buttonLeft.AppHeader-button.Button--medium.Button--secondary.Button--iconOnly.Button"
|
|
"github.com##.Button.Button--medium.Button--secondary.AppHeader-button--dropdown.AppHeader-buttonRight.AppHeader-button"
|
|
"github.com##.tooltipped-sw.tooltipped.AppHeader-buttonRight.color-fg-muted.AppHeader-button.Button--medium.Button--secondary.Button--iconOnly.Button"
|
|
|
|
# github sidebar stuff
|
|
''github.com##.rounded-2.p-3.color-border-default.border.\<color-bg-default.dashboard-changelog.mb-3''
|
|
"github.com##.mb-5.feed-right-sidebar"
|
|
|
|
"app.howthemarketworks.com##div.reveal-overlay:nth-of-type(8)"
|
|
|
|
# github copilot chat
|
|
"github.com##.CopilotChatInputPartial-module__inputSection--UWMD6"
|
|
"github.com##.CopilotChatInputPartial-module__inputContainer--EE6LJ"
|
|
|
|
# reddit
|
|
''www.reddit.com##.font-normal > .mt-0.list-none.relative > .s\:rounded-2.bg-transparent.-outline-offset-1.py-2xs.cursor-pointer.hover\:no-underline.hover\:bg-neutral-background-hover.hover\:text-secondary-hover.text-secondary.gap-\[0\.5rem\].px-md.relative.justify-between.flex''
|
|
|
|
"www.quora.com##.qu-bg--raised.qu-mb--small.qu-boxShadow--small.qu-borderColor--raised.qu-borderAll.dom_annotate_question_answer_item_0.q-box > div > div > div > div > div.q-box"
|
|
|
|
"discord.com##.contentCollapsedWrapper__5f897"
|
|
|
|
"www.statista.com###pdfpremiumArrowModal > .vueModal__overlay"
|
|
|
|
# The AI summary BS
|
|
''www.reddit.com##.px-md.pb-\[22px\].pt-md.mt-md.rounded-4.bg-neutral-background-weak.xs\:block.hidden''
|
|
|
|
"www.sciencedirect.com##.gXjxP.sc-fHSyaj"
|
|
];
|
|
};
|
|
}
|