您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove Suggested for You and Sponsored posts (Beta)
// ==UserScript== // @name Facebook Remove Suggested and Sponsored Posts (Beta) // @namespace http://tampermonkey.net/ // @version 1.2 // @description Remove Suggested for You and Sponsored posts (Beta) // @author Visualplastik // @match https://www.facebook.com/* // @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js // @grant none // ==/UserScript== function gtfo() { //Remove Suggested for You $( "span:contains('Suggested for you')" ).parent().parent().parent().parent().parent().hide().next().hide().next().hide().next().hide(); document.querySelectorAll('svg').forEach((el) => { if(parseInt(el.style.width.replace('px','')) + parseInt(el.style.marginRight.replace('px','')) > 54) { console.log('ad found'); el.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.remove(); } }) } //Initial Run setTimeout(function(){ gtfo(); }, 3000); //Repeat on Scroll $( window ).scroll(function() { gtfo(); });
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址