Skip to content

Instantly share code, notes, and snippets.

@nrb
Last active Aug 29, 2015
Embed
What would you like to do?
hide_ads.css
/* Safari: Preferences > Advanced > User Stylesheet
Firefox: Insert into ~/Library/Application\ Support/Firefox/Profiles/<profile_id>/chrome/userContent.css
For myself, I keep the file in Dropbox, and I symlinked it into the FF location.
*/
/* Hides Facebook ad divs, and the like button */
.ego_section { display: none; }
div#pagesNav { display: none; }
div#appsNav { display: none; }
div#pagelet_trending_tags_and_topics { display: none; }
a.UFILikeLink {display: none; }
/* Youtube comments */
div#watch-discussion { display: none; }
/* Twitter promoted tweets and trends */
div.promoted-tweet { display: none; }
div.trends-inner { display: none; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment