NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name My Fancy New Userscript // @namespace http://your.homepage/ // @version 0.1 // @description enter something useful // @author You // @match http://geektimes.ru/* // @grant none // ==/UserScript== @description Highlights top comments on GeekTimes (function(){ $('.comment_item').each(function(i, x){ var mark = +$(x).find('.score').innerText; if(mark >= 10) { $(x).find('.info').css('background-color', '#00FF99'); } }); console.log('Comments rated'); })();