commit 2b1eae8283340e2f48886e07d11ae9c8e3acba7b Author: js0ny Date: Mon Jan 26 14:54:46 2026 +0000 Initial commit diff --git a/extensions/kiss-rules_v2.json b/extensions/kiss-rules_v2.json new file mode 100644 index 0000000..fb58934 --- /dev/null +++ b/extensions/kiss-rules_v2.json @@ -0,0 +1,99 @@ +[ + { + "pattern": "*.wikipedia.org", + "selector": "", + "keepSelector": "", + "terms": "Bibliography,参考书目;Monarchs,君主;Preceded by,前任", + "aiTerms": "", + "apiSlug": "*", + "fromLang": "*", + "toLang": "*", + "textStyle": "style_none", + "transOpen": "true", + "textExtStyle": "", + "termsStyle": "", + "highlightStyle": "", + "selectStyle": "", + "parentStyle": "", + "grandStyle": "", + "injectJs": "", + "transOnly": "true", + "transTag": "*", + "transTitle": "true", + "transStartHook": "", + "transEndHook": "", + "autoScan": "*", + "hasRichText": "*", + "hasShadowroot": "*", + "rootsSelector": "", + "ignoreSelector": ".button, code, footer, form, mark, pre, .mwe-math-element, .mw-editsection, .mw-references-wrap, .rt-commentedText, .mw-collapsible-toggle, .reflist, .vector-page-toolbar", + "splitParagraph": "*", + "splitLength": 0, + "highlightWords": "*" + }, + { + "pattern": "www.reddit.com", + "selector": "", + "keepSelector": "", + "terms": "LLM,大语言模型;", + "aiTerms": "", + "apiSlug": "*", + "fromLang": "*", + "toLang": "*", + "textStyle": "*", + "transOpen": "true", + "textExtStyle": "", + "termsStyle": "", + "highlightStyle": "", + "selectStyle": "", + "parentStyle": "", + "grandStyle": "", + "injectJs": "", + "transOnly": "true", + "transTag": "*", + "transTitle": "*", + "transStartHook": "", + "transEndHook": "", + "autoScan": "*", + "hasRichText": "*", + "hasShadowroot": "*", + "rootsSelector": "", + "ignoreSelector": ".right-rail-popular-communities, .author-name, reddit-sidebar-nav, div[slot=\"commentMeta\"]", + "splitParagraph": "*", + "splitLength": 0, + "highlightWords": "*" + }, + { + "pattern": "*", + "selector": "h1, h2, h3, h4, h5, h6, li, p, dd, blockquote, figcaption, label, legend", + "keepSelector": "code, cite, math, .math, a:has(code)", + "terms": "", + "aiTerms": "", + "apiSlug": "Microsoft", + "fromLang": "auto", + "toLang": "zh-CN", + "textStyle": "style_none", + "transOpen": "false", + "textExtStyle": "", + "termsStyle": "font-weight: bold;", + "highlightStyle": "color: red;", + "selectStyle": "", + "parentStyle": "", + "grandStyle": "", + "injectJs": "", + "injectCss": "", + "transOnly": "false", + "transTag": "font", + "transTitle": "false", + "transStartHook": "", + "transEndHook": "", + "autoScan": "true", + "hasRichText": "true", + "hasShadowroot": "false", + "rootsSelector": "body", + "ignoreSelector": "button, footer, pre, mark, nav", + "splitParagraph": "split_disable", + "splitLength": 100, + "highlightWords": "highlight_disable" + } +] \ No newline at end of file diff --git a/extensions/ublocklist.txt b/extensions/ublocklist.txt new file mode 100644 index 0000000..8492b27 --- /dev/null +++ b/extensions/ublocklist.txt @@ -0,0 +1,158 @@ +! vim:ft=adblock +! Personal Adblock Blocklist +! Aggressive content blocking, use with caution +! Author: js0ny +! Tested on uBlock Origin (Firefox) + +! 屏蔽皮套勾大头 +laplace.live##.homeAvatar + +! 7 Dec 2025 https://www.google.com +www.google.com##.ssOUyb.KxwPGc > .pHiOh + +! 7 Dec 2025 https://www.zhihu.com +www.zhihu.com##.css-1qyytj7 +www.zhihu.com##a.css-1xvhq7k:nth-of-type(6) +www.zhihu.com##.css-so42cc +www.zhihu.com##.JmYzaky7MEPMFcJDLNMG.epMJl0lFQuYbC7jrwr_o.Button--blue.Button--primary.FEfUrdfMIKpQDJDqkjte.css-1liyluz.SearchBar-askDropdownButton.Button +www.zhihu.com##.Pc-feedAd-new +www.zhihu.com##.css-xd86it +www.zhihu.com##.css-2pfapc + +! 7 Dec 2025 https://www.reddit.com +www.reddit.com##rpl-modal-card + +! 8 Dec 2025 https://www.reddit.com +||accounts.google.com/gsi/iframe/select$subdocument + +! 9 Dec 2025 https://www.zhihu.com +www.zhihu.com##a.css-589h46:nth-of-type(6) +www.zhihu.com##.css-fd3uf +www.zhihu.com##.css-gkiiox +www.zhihu.com##a.css-589h46:nth-of-type(7) +www.zhihu.com##.Pc-word-new + +! 9 Dec 2025 https://duckduckgo.com +duckduckgo.com##.hF7w5TROgutbYQwHzEf_.MQCbz04ET5EljRmK3YpQ.ffON2NH02oMAcqyoh2UU.TQFs9yvBgnOz3EeEI5OL +duckduckgo.com##.WktWJWUFfihMbuzAEqk2.hUUdRtuaOUx7mcSwc56s.ffON2NH02oMAcqyoh2UU + +! 9 Dec 2025 https://github.com +github.com##.mb-5.d-block.feed-right-column +github.com##.mb-5.feed-right-sidebar + +! 9 Dec 2025 https://gemini.google.com +gemini.google.com##.ng-star-inserted.desktop-spacing.gds-label-m-alt + +! 9 Dec 2025 https://duckduckgo.com +duckduckgo.com##.desktop-homepage_ctaSection__dpM8y.homepage-cta-section_ctaSection__V5TiC +duckduckgo.com##.center_andText__q9Qi5.center_intrinsic__Gt_PZ.center_root___q8wn.desktop-homepage_featuresScrollBtn__Nfhe2.homepage-cta-section_scrollCta__Wmixn +duckduckgo.com##.app-hero_root__TxBcO.stack_root__raz5U +||duckduckgo.com/static-assets/image/pages/app/showcase-desktop-dark.png$image +duckduckgo.com##.app_normalBackgroundGradient__Ph5Ax.app_root__4_CLK +duckduckgo.com##.desktop-homepage_belowTheFoldWrapper__rTcUd + +! 9 Dec 2025 https://www.bilibili.com +www.bilibili.com##.login-tip +www.bilibili.com##.login-panel-popover +www.bilibili.com##.recommended-swipe +bilibili.com##.download-client-trigger.download-entry +bilibili.com##.right-entry--vip.right-entry__outside +www.bilibili.com##.vcd + +! 9 Dec 2025 https://search.bilibili.com +search.bilibili.com##.login-panel-popover +search.bilibili.com##.download-client-trigger.download-entry +search.bilibili.com##.right-entry--vip.right-entry__outside + +! 9 Dec 2025 https://www.bilibili.com +www.bilibili.com##a.ad-report-inner +www.bilibili.com##.video-page-special-card-small + +! 17 Dec 2025 https://tieba.baidu.com +tieba.baidu.com##ul.tbui_aside_float_bar +tieba.baidu.com##div.app_download_box +tieba.baidu.com##div.celebrity +tieba.baidu.com###j_navtab_wanle +tieba.baidu.com##div.card_banner + +! 17 Dec 2025 https://duckduckgo.com +duckduckgo.com##.container_responsive__hpeZ9.container_root__Ycg94.desktop-homepage_heroContent__4HUFA +duckduckgo.com##.center_andText__q9Qi5.center_intrinsic__Gt_PZ.center_root___q8wn.homepage-cta-section_scrollCta__Wmixn + +! 个人认为 loc-entry 都是限时推广的 topbar 元素,我不喜欢的元素,直接屏蔽! +bilibili.com##a.loc-entry + +! 对于没有 enable-no-interest 类的推荐卡片(广告) +! 屏蔽其上级元素 +bilibili.com##.feed-card:has(.bili-video-card.is-rcmd:not(.enable-no-interest)) + +! 一个比较 AOE 的选项,会把直播/番剧综艺的推荐从首页移除 +bilibili.com##div.floor-single-card + +! 17 Dec 2025 https://www.reddit.com +www.reddit.com##.inline-flex.button.justify-center.items-center.button-secondary.pe-\[var\(--rem14\)\].ps-\[var\(--rem10\)\].button-medium + +! 17 Dec 2025 https://gemini.google.com +! 这里屏蔽了 Gem 菜单和侧边生成内容的菜单,起码我不用这些。 +gemini.google.com##.ng-star-inserted.gems-list-container +gemini.google.com##.ng-star-inserted.side-nav-entry-container + +! 18 Dec 2025 https://echo360.org.uk +echo360.org.uk###userwayAccessibilityIcon + +! 18 Dec 2025 https://www.bilibili.com +www.bilibili.com##.video-page-game-card-small + +! 18 Dec 2025 https://search.bilibili.com +search.bilibili.com##.login-tip +search.bilibili.com##.other-link +search.bilibili.com##.footer-icons +search.bilibili.com##.bili-footer + +! 18 Dec 2025 https://old.reddit.com +old.reddit.com##.premium-banner + +zhihu.com##.AdvertImg +www.zhihu.com##a[href="https://www.zhihu.com/education/learning"] + +tieba.baidu.com##.custom-ad-wrap + + +! 付费了还让我看广告? +mail.proton.me##button.button-promotion +calendar.proton.me##button.button-promotion +proton.me##button[aria-controls="drawer-app-proton-referral"] +protonvpn.com##button.button-promotion + +! 29 Dec 2025 https://store.steampowered.com +store.steampowered.com##.banner_open_in_steam + +! 屏蔽烦人且没用的知乎私信小红点 +www.zhihu.com##button[href="https://www.zhihu.com/messages"] + +! 新版知乎选中文本时的悬浮框 +! zhihu.com##div:has(.ZDI--Heart24):has(.ZDI--AgreeFill24) + +! 29 Dec 2025 https://tieba.baidu.com +tieba.baidu.com##.clearfix.top-sec +tieba.baidu.com##.notice_item.item +! 手动屏蔽贴吧登录遮罩 +tieba.baidu.com##.tieba-login-background +tieba.baidu.com##.tieba-login-wrapper +! +pan.baidu.com##.business-ad-content +pan.baidu.com##img.btn-img-tips +pan.baidu.com##img.new-disk-call-client-img +tieba.baidu.com##a#selectsearch-icon + +! 3 Jan 2026 https://www.zhihu.com +www.zhihu.com##.css-kmdrvi.Banner.Card +www.zhihu.com##.Modal-backdrop + +! B站动态:屏蔽所有带商品的动态 +t.bilibili.com##.bili-dyn-list__item:has(.bili-dyn-card-goods) +! B站动态:屏蔽所有直播回放视频 +t.bilibili.com##.bili-dyn-list__item:has-text(/直播回放/) +t.bilibili.com##.bili-dyn-list__item:has-text(/妙界|美团|闪购|神气小鹿/) +! B站动态:屏蔽所有互动抽奖动态 +t.bilibili.com##.bili-dyn-list__item:has(.lottery)