您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hides Facebook ads (best-effort)
Tries as good as it can to hide Facebook ads, which is a lot harder than it sounds because Facebook is really unique in their anti-ad mechanisms*. As a result, this script is rather CPU-heavy, but it should do the job.
If an ad or two slip through or an innocent post gets blocked (which should theoretically not happen, but who knows) please let me know! This entire script could only be tested through a lot of trial-and-error due to Facebook's unique nature.
*Technical mumbo-jumbo: Facebook does some wonky stuff to stop ad-blockers (see attached picture).