Skip to content

'Copy Hostname' button #20

Open
Open

Description

@MarcusNoble

I'm lazy and don't like typing too much out so I try to copy the hostname from my machines list. The problem is, as the page is constantly updating it makes it really difficult to be quick enough to select and copy before the page has been reset. A nice little 'Copy Hostname' button would be useful.

Activity

  1. added this to the milestone on Sep 17, 2015
  2. jrha commented on Oct 22, 2015

    @jrha
    Member

    👍 and/or an ssh:// link

  3. GooBall commented on Oct 28, 2015

    @GooBall
    Contributor

    As things stand with this, copying to clipboard in browsers is a horrible art. Most solutions involve Flash so I'm very reluctant to do down this route.

    Something we might be able to do - and have been taking about - is lower the refresh rate to something a little less frantic. The only other simple alternative would be to have a button that opens the hostname in an alert or popup of some sort so you could then copy and paste from there.

  4. modified the milestones: , Quick n easy on Oct 28, 2015
  5. MarcusNoble commented on Nov 9, 2015

    @MarcusNoble
    Author

    Have you seen Clipboard.js?

    Simple example:

    <html>
      <head>
        <title>Clipboard Test</title>
        <script src="bower_components/clipboard/dist/clipboard.min.js"></script>
      </head>
      <body>
        <span id="hostname">vm01.stfc.ac.uk</span> <button id="copy" data-clipboard-target="#hostname">Copy</botton>
        <script>
          new Clipboard('#copy');
        </script>
      </body>
    </html>

    Also:

    image

  6. modified the milestones: , 1.5.5 on Feb 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions