Our great sponsors
-
RunJS
RunJS is a JavaScript playground for macOS, Windows and Linux. Write code with instant feedback and access to Node.js and browser APIs.
-
Windows Terminal
The new Windows Terminal and the original Windows console host, all in the same place!
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I use the browser's dev console to try out short JS snippets or for simple on-page scraping. (for longer JS as a scratchpad I use https://runjs.app).
The browser's dev console gives you access to the current page's DOM, plus anything you can do in JS.
So stuff like `document.querySelectorAll(".foo")` works. Also `fetch()` works within the page's context.
Apart from that, what are some other useful things one can do in the dev console?
God, please don't use Hyper, it's literally a terminal built with Electron, possibly the slowest practical way to implement a terminal.
If you're on macOS or Linux, use the built in terminal. If you're on Windows, use Windows Terminal [0], the new one, not cmd prompt.
[0] https://github.com/microsoft/terminal