Greasy Fork
登录
阿拉伯语 (ar)
白俄罗斯语 (be)
保加利亚语 (bg)
波兰语 (pl)
朝鲜语 (ko)
丹麦语 (da)
德语 (de)
俄语 (ru)
法语 (fr)
法语 (加拿大) (fr-CA)
芬兰语 (fi)
格鲁吉亚语 (ka)
汉语 (台湾) (zh-TW)
汉语 (中国) (zh-CN)
荷兰语 (nl)
捷克语 (cs)
克罗地亚语 (hr)
罗马尼亚语 (ro)
马拉提语 (mr)
挪威布克莫尔语 (nb)
葡萄牙语 (巴西) (pt-BR)
日语 (ja)
瑞典语 (sv)
塞尔维亚语 (sr)
世界语 (eo)
斯洛伐克语 (sk)
泰语 (th)
土耳其语 (tr)
维吾尔语 (ug)
乌克兰语 (uk)
西班牙语 (es)
希伯来语 (he)
现代希腊语 (el)
匈牙利语 (hu)
意大利语 (it)
印尼语 (id)
英语 (en)
越南语 (vi)
Español Latinoamericano (es-419)
کوردیی ناوەندی (ckb)
Help us translate!
脚本
论坛
帮助
更多
高级搜索
用户列表
库
管理日志
☰
脚本
论坛
帮助
高级搜索
用户列表
库
管理日志
登录
阿拉伯语 (ar)
白俄罗斯语 (be)
保加利亚语 (bg)
波兰语 (pl)
朝鲜语 (ko)
丹麦语 (da)
德语 (de)
俄语 (ru)
法语 (fr)
法语 (加拿大) (fr-CA)
芬兰语 (fi)
格鲁吉亚语 (ka)
汉语 (台湾) (zh-TW)
汉语 (中国) (zh-CN)
荷兰语 (nl)
捷克语 (cs)
克罗地亚语 (hr)
罗马尼亚语 (ro)
马拉提语 (mr)
挪威布克莫尔语 (nb)
葡萄牙语 (巴西) (pt-BR)
日语 (ja)
瑞典语 (sv)
塞尔维亚语 (sr)
世界语 (eo)
斯洛伐克语 (sk)
泰语 (th)
土耳其语 (tr)
维吾尔语 (ug)
乌克兰语 (uk)
西班牙语 (es)
希伯来语 (he)
现代希腊语 (el)
匈牙利语 (hu)
意大利语 (it)
印尼语 (id)
英语 (en)
越南语 (vi)
Español Latinoamericano (es-419)
کوردیی ناوەندی (ckb)
Help us translate!
信息
代码
历史
反馈(6)
统计
AdBlock for Facebook
Block / Hide "Sponsored" posts on Facebook
这些是此脚本变更过代码的版本。
显示所有版本。
v1.6
2019-08-09
Fix script not working due to facebook not creating the stream_pagelet element until first post loads. Ads may show for 1.5 seconds, but will be blocked after that.
v1.5
2019-04-01
Facebook has apparently loading sponsored posts asynchronously. Asynchronous loading of posts was causing sponsored posts to not contain ad content for some time if the user was scrolling slowly. As a result, such posts were getting marked as "not ads" and were not re-scanned when the sponsored content was inserted. This new version fixes that issue by using a checksum to re-scan posts when their innerText changes.
v1.12
2019-03-13
Turn off script for pages other than news feed to prevent errors
v1.11
2019-03-13
Hide ads instead of deleting them because deleting them now breaks the Facebook site. This is an important update.
v1.04
2019-03-05
Add URL tag abDbg=true for debug mode
v1.03
2019-03-03
Comment out console.log statements to stop unnecessary clutter of console
v1.02
2019-03-03
Recently, Facebook has started randomly inserting newlines in the "Sponsored" declaration, so about 1/3 to 1/2 of the ads were not getting blocked. This issue has been fixed for this version and all ads are blocked at time of update
v1.01
2019-02-21
Hide ads with CSS instead of deleting them to prevent them from being re-inserted
v1.0
2019-02-21
Slight code refactoring / debugging improvements
v0.9
2019-02-21
Stop constant console messages
v0.1
2019-02-21