can you get more random?

Claim your time back from FaceBook

July 1st, 2019 Posted in Uncategorised

A quick Greasemonkey script has again saved me from endless scrolling on the FaceBook newsfeed.

// ==UserScript==
// @name     Facebook NewsFeed Remover
// @version  1
// @include  https://www.facebook.com/*
// @require  http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js
// @require  https://gist.github.com/raw/2625891/waitForKeyElements.js
// @grant    GM_addStyle
// ==/UserScript==

waitForKeyElements (".userContentWrapper", actionFunction);

function actionFunction (jNode) {
  jNode.before( "<div style='height: 500px; padding: 100px'>Nothing to see here</div>" );
}
Share

Post a Comment