Hide/Disable download button on Chrome PDF Viewer
<p>I'm looking for a way to hide or disable the download button that appears in the Chrome PDF viewer. I have disabled the print button using the protection script of fpdf(<a href="http://www.fpdf.org/en/script/script37.php" rel="nofollow">http://www.fpdf.org/en/script/script37.php</a>), but it doesn't help with the download button. The PDF is currently being opened in a new window via : </p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>window.open(URL, "", "resizable=yes, scrollbars=yes, titlebar=yes, width=1024, height=900, top=10, left=10");</code></pre>
</div>
</div>
</p>

<p>I realize this won't stop any somewhat informed user from saving/printing the PDF, but the client is insisting on this "security measure".</p>

<p>If I inspect the element using Dev Tools and add display: none it does what I want, but I'm not sure how to add that by default in the new window that opens.</p>