您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove 'Suggested Post, Suggested Offer'
当前为
// ==UserScript== // @name Up Yours FB // @namespace upyoursfb // @description Remove 'Suggested Post, Suggested Offer' // @include *://www.facebook.com/* // @include *://m.facebook.com/* // @require https://code.jquery.com/jquery-3.2.1.min.js // @version 1 // @grant none // ==/UserScript== $(document).ready(function () { var upyours = ['Suggested Offer', 'Suggested Post']; $(document).on('scroll', function(){ $('span').each(function(){ if($(this).text() == upyours[0] || $(this).text() == upyours[1]){ $(this).parents().eq(4).hide(); console.log('Got another one | Up yours fb'); } }); }); });