跳到正文
DEV Community· type2Rhyme·· 2 小時前AI 評分43

layerCleanerPro:移除網頁幹擾而非封鎖廣告的 Chrome 擴充功能

layerCleanerPro: A Chrome extension that stops fighting ads and starts removing interruptions

AI 導讀

layerCleanerPro 是一款 Chrome 擴充功能,針對全螢幕覆蓋層、Cookie 同意提示、強制彈窗及捲動鎖定等網頁幹擾,而非廣告本身。它預設完全關閉,可按網站啟用,並可與 uBlock Origin 並用。

正文

type2Rhyme

I built a simple Chrome extension to solve a fundamentally different problem than traditional ad blockers.

Most blockers start with the premise: "Ads are bad."
This project starts with a different premise: "Interruption is bad."

If an advertisement stays in its place, that's fine.
The real problem is modern websites taking control away from the user—full-screen overlays, cookie consent spam, forced popups, and scroll locking.

How this Chrome extension works

Instead of relying on massive, heavy filter databases that break payment forms or user logins:

  • Site-by-site toggle: Keep it completely off by default. Enable it only on sites that annoy you.
  • Interruption removal: Automatically handles consent banners, neutralizes heavy fixed overlays, and restores scroll-lock without breaking site layouts.
  • Lightweight & Co-existent: Zero impact on other sites, zero background overhead, and works seamlessly alongside traditional blockers like uBlock Origin.

Philosophy First

Today, AI can help anyone write code. What remains valuable isn't just the syntax—it's how we think about a problem.

The web should belong to the person reading it. Not to the overlay. Not to the scroll-locking script.

Check out the full source code and concept on GitHub:
https://github.com/type2Rhyme/layerCleanerPro

Would love to hear your thoughts or see how you customize it!

來源:DEV Community · dev.to