NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Quora Show Upvotes // @namespace ankitbko // @version 0.3 // @description Show upvotes in Quora // @author ankitbko // @match http*://www.quora.com/* // @grant none // @copyright 2017, ankitbko (https://ankitbko.github.io) // @license MIT // ==/UserScript== (function() { 'use strict'; let showCount = function () { try { let countList = Array.from(document.getElementsByClassName('hide_in_feed')); countList.forEach(x => x.className = x.className.replace(' hide_in_feed', '')); let parentDivs = Array.from(document.getElementsByClassName('AnswerFeedStory feed_item')); parentDivs.forEach(x => { let id = x.id.replace('_item','_action_bar'); let actionDiv = document.getElementById(id); actionDiv.className = actionDiv.classList.remove('hidden'); }); } catch (error) { console.log(error); } }; showCount(); window.onscroll = function() { showCount(); }; })();