Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Stimulation Clicker. Parent comment
In Chrome and Firefox, $ and $$ are available in the console as replacements for document.querySelector and document.querySelectorAll, respectively.
This doesn't work in scripts though; only in the console. In a script you can use this:
const $ = document.querySelector.bind(document);
There are no comments on this comment yet.
In Chrome and Firefox, $ and $$ are available in the console as replacements for document.querySelector and document.querySelectorAll, respectively.
This doesn't work in scripts though; only in the console. In a script you can use this: