title: Save converted binary code in local storage of browser
body: <p>I have a php file "linkToThePhpFileHere.php". It creates a QR Code and returns something like that:</p>
  
  <p><a href="https://i.stack.imgur.com/y7zHA.png" rel="nofollow noreferrer">https://i.stack.imgur.com/y7zHA.png</a></p>
  
  <p>That's how I display the code:</p>
  
  <pre><code>&lt;div style="background-image: url(linkToThePhpFileHere.php);"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>But I want to store the content of "linkToThePhpFileHere.php" in an array in the local storage of the browser and I think, it's not a good idea to save the binary code there?</p>
  
  <p>Is it possible to use <code>Javascript/Jquery</code> to load and convert the cotent of my file. It should look like this: <a href="https://i.stack.imgur.com/soYPr.png" rel="nofollow noreferrer">https://i.stack.imgur.com/soYPr.png</a> and be saved in a var:</p>
  
  <pre><code>var str = convertToSth($.get("linkToThePhpFileHere.php"));
  </code></pre>