Skip to content

Instantly share code, notes, and snippets.

@nitinthewiz
Last active Aug 29, 2015
Embed
What would you like to do?
// ==UserScript==
// @name FB Cleanse
// @version 0.1
// @namespace http://blog.nitinkhanna.com
// @author nitinkhanna
// @run-at document-end
// @include *facebook*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// ==/UserScript==
var rra = function() {
setInterval(rra,2000);
var divs = document.getElementsByClassName('tickerActivityStories');
$(divs).each(function() {
singlepost = $(this);
singlepost.hide();
});
var divs = document.getElementsByClassName('rightColumnWrapper');
$(divs).each(function() {
singlepost1 = $(this);
singlepost1.hide();
});
var divs = document.getElementsByClassName('_64b fixed_elem');
$(divs).each(function() {
singlepost2 = $(this);
singlepost2.hide();
});
}
rra();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment