Generate ServiioLinks popup copy process

Issue #925 wontfix
Former user created an issue

Currently the ServiioLinks popup simply offers an OK button which really has no value. Also the generated link does not highlight, and it must be manually highlighted before it can be copied, and further when running ServiioConsole.exe the right chick context menu is not available and one must know enough to use ctrl+c. It would be better to provide a "copy" button to automatically copy the serviiolink to the clipboard and eliminate all that, and a "return" button if no action is required.

Comments (3)

  1. Former user Account Deleted

    How about this as an alternative. It addresses the lack of a context menu for copying as well and shows the simple user what to do.

    From Stack overflow

    Automatic copying to clipboard may be dangerous, therefore most browsers (except IE) 
    make it very difficult. Personally, I use the following simple trick:
    function copyToClipboard(text) {
      window.prompt("Copy to clipboard: Ctrl+C, Enter", text);
    }
    
    The user is presented with the prompt box, where the text to be copied 
    is already selected. 
    Now it's enough to press Ctrl+C and Enter (to close the box) -- and voila!
    
    Now the clipboard copy operation is SAFE, because the user does it 
    manually (but in a pretty straightforward way). 
    Of course, works in all browsers.
    
    
    
    <button id="demo" onclick="copyToClipboard(document.getElementById('demo').innerHTML)">This is what I want to copy</button>
    
    <script>
      function copyToClipboard(text) {
        window.prompt("Copy to clipboard: Ctrl+C, Enter", text);
      }
    </script>
    
  2. Former user Account Deleted

    I have no way of knowing if you have seen or reviewed this proposal. Please comment.

    I've changed it to an enhancement since it is not a bug.

  3. Log in to comment