copy() on Chrome DevTools (other browsers probably) adds to your clipboard anything you use as an argument.
That gets really powerful when you use it with "Store as global variable". That way you can log a huge server response, for instance, and copy it from the Dev Tools console.
I use this all the time when I want to quickly do some web scraping on-the-fly. A little bit of Array#map chaining can easily automate what would have been million Ctrl + Cs.
Oooh, I know a good one!
copy()
on Chrome DevTools (other browsers probably) adds to your clipboard anything you use as an argument.That gets really powerful when you use it with "Store as global variable". That way you can log a huge server response, for instance, and copy it from the Dev Tools console.
Here's an example:
I use this all the time when I want to quickly do some web scraping on-the-fly. A little bit of
Array#map
chaining can easily automate what would have been millionCtrl + C
s.nice one! i'll remember this one :)
Thanks for sharing
This is so cool