Facebook Comment Sorter

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

目前為 2025-04-23 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
areen-c
評價
0 0 0
版本
1.1
建立日期
2025-04-17
更新日期
2025-04-23
尺寸
11.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 ✌️