Post Reply 
Facebook Ads
Sep. 29, 2011, 05:25 PM
Post: #1
Facebook Ads
Given Joe's response to the "facebook ticker" thread, I've located the following userstyle to thwart facebook ads:
------------------------------------------------------------------

@-moz-document domain("facebook.com") {


.ad_capsule{ display: none !important; }
#ssponsor{ display: none !important; }
.nextstep{ display: none !important; }
.sponsors { display: none !important }
.invitefriends { display: none !important; }
.social_ad { display: none !important; }
#sidebar_ads { display: none !important; }
.sponsor { display: none !important; }
#feedwall_with_composer, #info_tab { width: 722px !important; margin-left: -180px; }
.story_content { width: 660px !important; }
.story_body {width: 665px !important; }
.photos_tab { width: 945px !important; }
.emu_sponsor,.house_sponsor { display: none !important; }

/* Block sidebar ads (+1.72 - 2009-02-20) */
.from_friend_story {width: 725px !important; }
.UIHomeBox_Sponsored, .profile_sidebar_ads { display: none !important; }

/* Hide sponsor from the home page (+1.74 - 2010-11-01) */
#home_sponsor_nile{ display: none !important; }

/* Block sidebar ads again and hide ads from the photo overlay as well (+1.75 - 2011-05-19) */
#pagelet_ego_pane { display: none !important; }
.fbPhotoTheaterGrid .adsContainer { display: none !important; }

-----------------------------------------------------------------

The script works perfectly. Does this give some clue how filters might be written to block the ads with Proxomitron?

Thank you,

Cary
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Facebook Ads - Belarathon - Sep. 29, 2011 05:25 PM
RE: Facebook Ads - JJoe - Sep. 30, 2011, 03:50 AM
RE: Facebook Ads - Belarathon - Sep. 30, 2011, 04:25 AM
RE: Facebook Ads - JJoe - Sep. 30, 2011, 01:51 PM
RE: Facebook Ads - Belarathon - Oct. 01, 2011, 09:50 PM
RE: Facebook Ads - JJoe - Oct. 02, 2011, 02:47 AM
RE: Facebook Ads - scoop - Sep. 30, 2011, 02:05 PM

Forum Jump: