Last active
August 29, 2015 13:57
-
-
Save nitinthewiz/9689181 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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