Question

There is a console.log from Chrome webkit inspector. How to copy it directly?

Answer

  1. Right-click an object in Chrome’s console and select Store as Global Variable from the context menu. It will return something like temp1 as the variable name.
  2. Chrome also has a copy() method, so copy(temp1) in the console should copy that object to your clipboard.

01

Reference


This is the end of post