Once Facebook's feed used to be very useful informing you about the updates of friends by their status, . I feel my Facebook feed has been hijacked by redundant and time wasting posted videos. So I wrote a small GreaseMonkey script to filter out posted videos. Here it is:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | // ==UserScript== // @name Facebook Remove Vids // @namespace // @description Removes videos from your Facebook Feed // @include http://www.facebook.com/*home.php* // @include http://www.new.facebook.com/*home.php* // ==/UserScript== function cleanUpPage() { var stories = document.getElementsByClassName("UIIntentionalStory"); for ( var i = 0; i < stories.length; i++ ) { var sHTML = stories[i].innerHTML; if ( sHTML.match("class="UIMediaItem_video") || sHTML.match("class="swfvideo") ) { stories[i].style.display = "none"; } } } window.addEventListener("load", function() { t = setInterval(cleanUpPage, 1000); } , false); |
I must say that after removing those videos, very little has been left in my feed :)