Tw

Two Column HN Frontpage for Firefox/Chrome

Hacker News

Two Column HN Frontpage for Firefox/Chrome

A GreaseMonkey [Firefox] or TamperMonkey [Chrome/Chromium] script to create a two column layout on the Hacker News front page. Useful to avoid scrolling. Probably not useful for much else. // ==UserScript== // @name hmMainPage // @namespace com.kludgecode.hn.demo // @include https://news.ycombinator.com/news // @version 1 // @grant none // ==/UserScript== (function () { // itemList[0] is the target document element var itemList = document.getElementsByClassName('itemlist')[0]; // r is the container for the content we build var r = document.createElement('tr'); // it will display two columns var left = document.createElement('td'); var right = document.createElement('td'); // An array of the first row of each item var row1 = Array.prototype.slice.call(document.getElementsByClassName('athing'), 0); // the second row of each item; a table body that wraps both rows; a table that wraps the table body var row2 = []; tb = []; t = []; // control the loops var len = row1.length; for (var i = 0; i < len; i++) { row2.push(row1[i].nextElementSibling); tb.push(document.createElement('tb')); t.push(document.createElement('table')); }; for (var i = 0; i < len; i++) { tb[i].appendChild(row1[i]); }; for (var i = 0; i < len; i++) { tb[i].appendChild(row2[i]); }; for (var i = 0; i < len; i++) { t[i].appendChild(tb[i]); }; for (var i = 0; i < len / 2; i++) { left.appendChild(t[i]) }; for (var i = len / 2; i < len; i++) { right.appendChild(t[i]) }; r.appendChild(left); r.appendChild(right); itemList.innerHTML = ""; itemList.append(r) })();

Share card

Actual performance

2points
1comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsMay not resonate with HN audience · Strong signals: hacker news, io · Missing: https docs, excited, just released
43%43% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersIH features products with proven revenue · Missing: supports, reddit linkedin, podcasting
39%39% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: users · Missing: plus, platform, intuitive
37%37% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: users · Missing: mobile apps, ios, personal
35%35% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Product HuntUnlikely to reach the leaderboard · Strong signals: user, new, code · Missing: mac, agents, macos
30%30% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: arr · Missing: mrr, revenue, profit
16%16% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
5%5% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Th
The BunnyMark Made into Chrome Experiments :)30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

The BunnyMark Made into Chrome Experiments :)

Hacker News1
Se
Sernie Banders for Chrome35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sernie Banders for Chrome

Hacker News1
Sp
Spice up Chrome with some llamas35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Spice up Chrome with some llamas

Hacker News20
Sp
Spotlight for Chrome/Firefox50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Spotlight for Chrome/Firefox

Hacker News2
Ch
Chrome Reaper52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Chrome Reaper

Hacker News86
Ha
HackerNew for Chrome55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

HackerNew for Chrome

Hacker News150
Bl
BlueprintMCP for Chrome52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

BlueprintMCP for Chrome

Hacker News1
Fo
Fokus for Firefox (and Chrome)38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Fokus for Firefox (and Chrome)

Hacker News2
Ex
Excess – Syncable stylesheets for Chrome35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Excess – Syncable stylesheets for Chrome

Hacker News2
Chrome Hearts
Chrome Hearts16%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Chrome Hearts

Indie Hackers