Facebook Comment Sorter

Forces Facebook comments to show "All Comments" or "Newest" instead of "Most Relevant"

作者
areen-c
今日安裝
0
安裝總數
2
評價
0 0 0
版本
1.0
建立日期
2025-04-17
更新日期
2025-04-17
尺寸
9.3 KB
授權條款
MIT
腳本執行於

This userscript forces Facebook comments to always show "All Comments" or "Newest" instead of the annoying default "Most Relevant". It works on the latest Facebook interface and supports many languages.

📦 – Features

  • Automatically selects your preferred comment sort (All or Newest)
  • Supports multiple languages: English, Indonesian, Spanish, French, German, Portuguese, Italian, Dutch, Russian, Chinese, Japanese, Arabic, Hindi
  • Modifies API requests to enforce server-side sorting
  • Works automatically in the background — just click “Comments” and the script handles the rest, no extra steps needed.

📥 – Installation

  1. Install a userscript manager like Tampermonkey or Violentmonkey
  2. Click the Install button on this page
  3. The script will start working automatically when you browse Facebook

🛠️ – Customization

To use "Newest" instead of "All Comments", open the script and change this line:

const sortPreference = "all"; // Change to "newest" if you want newest comments

📖 – How It Works

The script uses two methods to ensure consistent comment sorting:

  1. It identifies and clicks the appropriate sorting option in Facebook's UI
  2. It intercepts and modifies network requests to add sorting parameters

⚠️ Warning

This script can sometimes break parts of the Facebook interface. If anything looks off or stops working right, just disable the script.
Use at your own risk — you’ve been warned.
Enjoy ✌️