Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Hackernews
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description try to take over the world!
- // @author You
- // @match https://news.ycombinator.com/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- var comments = document.querySelectorAll('.comment'),
- score = document.querySelectorAll('span.score');
- for ( var i = 0, len = comments.length; i < len; i++ ) {
- comments[i].style.lineHeight = '20px';
- }
- if ( score && score.length > 0 ) {
- score[0].style.fontWeight = 'bold';
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement