There is a button code that copies the url of the page on which it is located, but the code is so cleverly written that part of it is displayed within the frames on the page next to the button. <pre><code id="rawgit"><script src="https://cdn.rawgit.com/zenorocha/clipboard.js/v1.6.1/dist/clipboard.min.js"></script></code></pre> <button class="btn btn-default pull-right" data-clipboard-target="#rawgit">КОПИРОВАТЬ</button> Help hide to keep one button.
|
Копироватьbutton? Judging by the examples of the author clipboard.js, the contents of the element withid="rawgit"are copied here, nothing more. You can assign<pre>style<pre>element thestyle="display:none"- Sergey Nudnov<pre style="display:none">- Sergey Nudnov