Raw Source
bonuswavepilot / Quora Feed Pruner

// ==UserScript==
// @name          Quora Feed Pruner
// @namespace     http://bafflegab.org/greasemonkey_scripts/
// @description   Remove promotions and push-stories from a Quora feed.  Icon based on modification of an icon by 'Freepik' http://www.freepik.com/ sourced from flaticon.com
// @license       GPL-3.0
// @include       https://www.quora.com/*
// @include       http://www.quora.com/*
// @version       0.3.3
// @require       http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// @icon          http://bafflegab.org/greasemonkey_scripts/pruner.png
// @grant         none
// @updateURL     http://bafflegab.org/greasemonkey_scripts/feedpruner.user.js
// ==/UserScript==

var div_count = 0;

// Uses a timeout-based approach as I wasn't sure of a reliable event to listen for when new content is added to the Quora feed
function pruneQuora() {
   var new_div_count = $('.paged_list_wrapper > div').length;
   
   if(new_div_count > div_count)
   {
      $('.HyperLinkBundle').hide();
      $('.AdBundle').hide();      
      $('.FeedInlineExpandAdToggle').hide();
      
      div_count = new_div_count;
   }
   
   setTimeout(pruneQuora, 3000);
}

(function(){
    pruneQuora();
})();