Skip to content

Instantly share code, notes, and snippets.

@slattery
Created February 11, 2015 15:45
Show Gist options
  • Save slattery/346cbd3ca9612d94a44f to your computer and use it in GitHub Desktop.
Save slattery/346cbd3ca9612d94a44f to your computer and use it in GitHub Desktop.
copy JSON obj in Chrome dev tools

wat do?

  1. Right-click the object and select "Store as global variable"
  2. The console will print the new variable's name, for example: temp1
  3. Type: copy(temp1)

The object is now available in your clipboard.

@daslicht
Copy link

When I right click and choose Store as Global Variable I get :
Failed to save to temp variable.
Whats missing please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment