Auto hide annoying Facebook posts

المتاجرة في الذهب http://www.dramauk.co.uk/?arapyza=%D8%B3%D9%88%D9%82-%D8%A7%D8%B3%D9%87%D9%85-%D8%A7%D9%84%D8%B3%D8%B9%D9%88%D8%AF%D9%8A%D8%A9-%D8%A7%D9%84%D9%8A%D9%88%D9%85&0ce=63
Auto hide annoying Facebook posts

الخيارات الثنائية finpari My Facebook has been littered with what can only be described as spam relating to the Apple announcements about some more things they are going to be selling or something like that.  

http://investingtips360.com/?klaystrofobiya=%D8%B3%D9%88%D9%82-%D8%A7%D9%84%D8%B3%D8%B9%D9%88%D8%AF%D9%8A-%D8%AA%D8%AF%D8%A7%D9%88%D9%84&88c=6f

http://gl5.org/?prikolno=%D8%AD%D9%83%D9%85-%D8%AA%D8%AC%D8%A7%D8%B1%D8%A9-%D8%A7%D9%84%D9%81%D9%88%D8%B1%D9%83%D8%B3&432=fe I am not an Apple fan and do not care less about this so I thought there must be an easy way to hide this kind of thing but I didn't find anything so I decided to make something to do it for me.  

الاسهم سعوديه

source url This is a super simple JavaScript GreaseMonkey or TamperMonkey script for scanning your Facebook feed and deleting the nodes form the DOM that contain a string that you have decided is annoying. In this example I have used Apple related words as there is allot of Apple spam on my Facebook at the moment but you can add whatever words you find annoying to the "hideAnnoyingThingsStrings" array and any post containing that string will be deleted.  

source

get link If you are interested to see the results then when a matching item is found and hidden then there is a log of that in your console. I find this thing pretty useful for making my Facebook feed more appropriate for work and less annoying to look at in general, especially since David Cameron started running advertising campaigns on there.  

http://dinoprojektet.se/?kapitanse=jobba-hemifr%C3%A5n-s%C3%B6kes&b39=fb

الضرائب الخيارات الثنائية في الولايات المتحدة الأمريكية source site // ==UserScript== http://jesspetrie.com/?amilto=%D8%B3%D8%B1-%D8%A7%D9%84%D8%AE%D9%8A%D8%A7%D8%B1%D8%A7%D8%AA-%D8%A7%D9%84%D8%AB%D9%86%D8%A7%D8%A6%D9%8A%D8%A9 // @name Hide annoying things form your FaceBook wall see // @namespace http://hide.annoying.things/ http://asect.org.uk/?ilyminaciya=%D8%B1%D8%A8%D8%AD-%D8%A7%D9%84%D8%A3%D9%85%D9%88%D8%A7%D9%84-%D8%A7%D8%A8%D9%84%D9%82%D9%85%D8%A7%D8%B1&e12=03 // @version 0.1 follow // @description It's apple product release time so I decided I needed to clean the Apple spam from my FB but you can use this for anything http://asandoc.com/?dwonsnow3=%D8%AB%D9%86%D8%A7%D8%A6%D9%8A-%D8%A7%D9%84%D8%AE%D9%8A%D8%A7%D8%B1-%D8%A7%D9%84%D9%85%D8%B3%D8%A7%D8%B9%D8%AF&0b7=74 // @match https://www.facebook.com/ click // @copyright 2014+, Tom Gould // @require https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js // @grant GM_addStyle // ==/UserScript== var hideAnnoyingThingsStrings = [ "cameron", "xbox", "playstation", "football", "poker", "game", "Apple", "iPhone", "iPad", "iWatch" ];   var hideAnnoyingThings = function() { $('._4ikz').each(function() { var elements = $(this).find('div.mbm'); $.each(elements, function(key, value) { var findings = hideAnnoyingThings_str_contains($(value).html(), hideAnnoyingThingsStrings, 0); if (findings !== false) { $(this).remove(); console.log('Found a ' + findings); } }); }); }   var hideAnnoyingThings_str_contains = function(haystack, needles, offset) { for (i = 0; i < needles.length; i++) { var str = needles[i].toLowerCase(); var n = (haystack.toLowerCase() + '') .indexOf(str, (offset || 0)); if (n > -1) { return str; } } return false; }   window.setInterval(hideAnnoyingThings, 1000);

Comment

By submitting this form, you accept the Mollom privacy policy.