Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to save js object to clipboard

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.
 
PREVIOUS NEXT
Tagged: #save #js #object #clipboard
ADD COMMENT
Topic
Name
4+6 =