Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
登录
Element Rules 预览

Element Rules 作者: Max

Point at anything on a page to hide, blur, remove or click it — now, after a delay, or when it scrolls into view.

0(0 条评价)0(0 条评价)
1 个用户1 个用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
Selecting an element you want to make a new rule for on any webpageSelecting an actionResult after screenshot 1 and 2.Display all rules on a specific tab by clicking the icon in toolbarSettings screen. For editing advanced rules, a better overview of all rules and for installing certain rule presets for sites (cookie consent banner hide, age filter/pagwall block etc)Editing advanced rules for any rule you have made. This is done through the advanced settings page (Manage Rules)
关于此扩展
Point at anything on a page and turn it into a rule: hide it, blur it, remove it, click it, or change
it — immediately, after a delay, when it scrolls into view, or on the next in-page navigation.

Pick, don't write CSS. Hover to highlight, use ↑/↓ to walk up and down the DOM, and click once to
act. Prefer more control? Edit the generated selector before saving, or switch the rule to "all similar
elements" so everything that matches gets the same treatment.

Rules survive reloads. Every rule is saved and re-applied automatically on the pages it belongs
to — per-site by default, with optional URL filters, exclusions, path prefixes, or all sites at once.
  • Hide or blur — compiled into one stylesheet applied before the first paint, so the element never
    flashes on screen.
  • Remove, click, plus style, class, attribute and text edits.
  • Media controls: play, pause, mute, volume, playback speed, seek, fullscreen.
  • Scroll into view, focus, and dispatch custom events.
  • Destructive actions offer an Undo for a few seconds.
  • As soon as the element appears — works with infinite scroll and late-loaded content.
  • After a delay, counted either from when the element appears or from page load.
  • When the page finishes loading.
  • When the element scrolls into view.
  • After navigating within the page, for single-page apps.
  • Keep retrying until something matches.
  • Only when you run it — from the popup, the right-click menu, or a keyboard shortcut.


The rule editor and the popup's quick edit can apply an unsaved draft to the live page, report how many
elements matched, and undo the test. A preview never touches your saved rules.


A preset library covers generic patterns only: consent banners, privacy dialogs, age gates, newsletter
popups, registration walls, sticky headers, floating video players, chat widgets, share rails, and
autoplaying or loud media. Presets stay off until you install them.


Import a JSON array of { label, selector, action, site, enabled } objects and they are mapped onto the
rule model. Unsupported fields are dropped with a note in the import result.
  • No network access of any kind — no analytics, no telemetry, no remote configuration, no remote
    code. Everything ships inside the add-on.
  • Rules and settings live in your browser's local extension storage and never leave your machine unless
    you export them yourself.
  • No accounts, no sign-in, no tracking.
  • The add-on's own interface lives in a shadow root and never touches the page's globals.
  • Access your data for all websites — a general element blocker has to look at the page you point
    it at; that is the entire feature. Pages are processed locally and nothing is sent anywhere.
  • Storage — to keep your rules and settings.
  • Context menus — for the right-click entry that starts the picker.
  • Alt+Shift+E — start the picker
  • Alt+Shift+R — turn rules on or off for the current site

Both can be rebound in the add-on manager.

Open source and MIT licensed. The add-on ships no site-specific rules: if a page needs a selector of its
own, you create it at runtime with the picker.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 访问您在所有网站的数据

可选权限:

  • 访问您在所有网站的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 支持邮箱
  • 复制附加组件 ID
版本
0.2.0
大小
52.98 KB
上次更新
1 个月前 (2026年10月28日)
相关分类
  • 外观
许可证
MIT 许可证
版本历史
  • 查看所有版本
标签
  • content blocker
  • privacy
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

下载

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。