Skip to content

Instantly share code, notes, and snippets.

@nrb
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nrb/5d6c745d447614fba4a9 to your computer and use it in GitHub Desktop.
Save nrb/5d6c745d447614fba4a9 to your computer and use it in GitHub Desktop.
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