Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
OnlyLikes 预览

OnlyLikes 作者: atonalfreerider

Filter out negative comments on social media platforms

实验性实验性
0(0 条评价)0(0 条评价)
尚无用户尚无用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
OnlyLikes

A browser extension that filters out negative comments on social media platforms, using on-device sentiment analysis

Supported Browsers:
- Chrome (v139)
- Firefox (v134)

How it works:

All Social Media replies are completely blocked when the user loads a post or comment that they authored, or if user is mentioned in another comment. Each reply under the comment is selectively unblocked after it undergoes a sentiment analysis, ranking the comment from 0 (negative) to 1 (positive).

Sentiment inference is only run when it is a user submission. It does not run otherwise. The sentiment inference is run in-browser, on your device, and does not use any API calls. It only uses electricity.

Chrome:
On-device Gemini Nano, provided by the browser:
https://developer.chrome.com/docs/ai/built-in-apis

Firefox:
On-device Xenova, provided by the browser:
https://firefox-source-docs.mozilla.org/toolkit/components/ml/extensions.html
https://firefox-source-docs.mozilla.org/toolkit/components/ml/extensions-api-example/README.html#trial-inference-api-extension-example

The models are downloaded and cached on the user device. They require a few hundred MB of storage and will run with GPU acceleration automatically, and will default to quantized CPU inference, so it should run on a mobile device.

Supported Sites
- Instagram
- X
- Reddit
- YouTube
- Facebook
- HackerNews

Chrome Installation
  1. Run:

npm install
npm run build
  1. In Chrome (min version 139) Extensions > Manage Extensions > Load unpacked:
  2. load OnlyLikes/dist

Firefox Installation
  1. Clone the repository
  2. Open Firefox (min version 134.0)
  3. Go to about:config
  4. Set these preferences to true:
    • browser.ml.enable → true
    • extensions.ml.enabled → true
  5. Open about:debugging#/runtime/this-firefox
  6. Click "Load Temporary Add-on" and select manifest.json
  7. Once the extension is loaded, go into about:addons and enable the optional permission.

Usage
  1. Open the extension by clicking on the icon in the toolbar.
  2. Adjust the settings as needed.
  3. Refresh the page or wait a few seconds for the extension to filter out negative comments.

Publish instructions

https://developer.chrome.com/docs/webstore/publish
https://extensionworkshop.com/documentation/publish/submitting-an-add-on/

Why I Made This Tool

I have never, ever, once in my entire life, read a negative reply to one of my internet submissions and received some kind of value from it. No self-improvement. No deep reflection.

Quite the opposite. These comments sit in my mind and haunt me. I never forget them.

I think I'm like most people. I'm going through life, living it the way that I think is best for me. I keep my negative thoughts to myself. I don't blast them out all over the place.

Contrary to what a troll will tell you: "Oh, I'm holding you accountable blah-blah-blah", this is nothing more than bullying, and I think in most cases it is projection.

Moreover, it is apparent that the Internet economy is fueled on bullying, triggering, vitriol. OnlyLikes and on-device sentiment analysis are the first step in making the Internet a better place.

If you are a troll and you are reading this, and you feel an urge to post something mean, you are wasting your time because now I'll never see it.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

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

必要权限:

  • 访问您在 facebook.com 域名的数据
  • 访问您在 instagram.com 域名的数据
  • 访问您在 news.ycombinator.com 域名的数据
  • 访问您在 reddit.com 域名的数据
  • 访问您在 tiktok.com 域名的数据
  • 访问您在 twitter.com 域名的数据
  • 访问您在 x.com 域名的数据
  • 访问您在 youtube.com 域名的数据

可选权限:

  • 访问您在所有网站的数据
详细了解
更多信息
版本
0.3
大小
60.66 KB
上次更新
1 个月前 (2025年9月23日)
相关分类
  • 外观
  • 社交和通信
许可证
MIT 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

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

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

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