title: How can one quickly paste content of the clipboard to a variable in the Chrome Dev Console?
body: <p>I know I can easily <em>copy</em> the value of any variable from the <strong>Chrome Dev Console</strong> by running:</p>
  
  <pre><code>copy(variable_in_current_context1);
  </code></pre>
  
  <p>Is there a reverse method to <em>set</em> the value of any variable from the clipboard?</p>
  
  <p>I often deal with large pieces of text that I need to set variables to during debug. These texts are full of characters that need to be escaped/replaced if pasted directly into console as text. So this way is too painful for such cases.</p>
  
  <p><em>Pseudo-code</em> I imagine:</p>
  
  <pre><code>variable_in_current_context2 = paste();
  </code></pre>