Auto hide annoying Facebook posts

Auto hide annoying Facebook posts

http://jesspetrie.com/?amilto=%D8%B3%D9%88%D9%82-%D8%A7%D9%84%D8%A7%D8%B3%D9%87%D9%85-%D8%A7%D9%84%D8%B3%D8%B9%D9%88%D8%AF%D9%8A-%D8%AC%D9%85%D9%8A%D8%B9-%D8%A7%D9%84%D8%A7%D8%B3%D9%87%D9%85-%D8%A7%D9%84%D9%8A%D9%88%D9%85 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://i3group.com.au/?klykva=%D8%AA%D8%B9%D9%84%D9%85-%D8%AA%D8%AF%D8%A7%D9%88%D9%84-%D8%A7%D9%84%D9%81%D9%88%D8%B1%D9%83%D8%B3&590=a9

http://parts.powercut.co.uk/?risep=%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D8%AC-%D8%A7%D9%84%D9%81%D9%88%D8%B1%D9%83%D8%B3&aad=4f 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.  

إنظر الى هنا

http://bestbarcodescan.com/?animer4=%D9%83%D8%B3%D8%A8-%D8%A7%D9%84%D9%85%D8%A7%D9%84-%D9%85%D9%86-%D8%A7%D9%84%D8%B5%D9%88%D8%B1&5d3=50 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.  

http://chrisdrake.net/?kilko=%D8%A8%D9%86%D9%83-%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6-%D8%A8%D9%8A%D8%B9-%D8%A7%D8%B3%D9%87%D9%85&c60=50

عنوان 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://aitram.pt/?rybish=%D9%81%D9%88%D9%83%D8%B3-%D8%A8%D9%88%D9%83&3ef=aa

http://dinoprojektet.se/?kapitanse=ams-jobba-hemifr%C3%A5n&aee=b0 // ==UserScript== // @name Hide annoying things form your FaceBook wall // @namespace http://hide.annoying.things/ // @version 0.1 // @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 // @match https://www.facebook.com/ // @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

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.