DEV Community

Christian Heilmann
Christian Heilmann

Posted on • Originally published at christianheilmann.com

An easy way to copy + paste from the browser Console #shorts

Copying and pasting from Console is annoying but there is a better way. The Console variable $_ contains the last result. You can use this with the copy() command to copy the data to the clipboard without having to highlight it.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay