in reply to Allowing c&p of node headers

The Approval nodelet usually has such a copiable reference, though it only appears for writeups, not for infrastructure nodes. (Update: so does the Node Status nodelet.)

However, as the most common reason why I want to copy such a link is refferring to it in a chatterbox message, I have a chatterbox talk form in my free nodelet that's pre-filled with the link. This way, I don't even have to copy, I just write text around it. Here's the relevant source from my Free Nodelet Settings:

<form method="post" action="?"><font size="-4"><input type="hidden" na +me="node_id" value="`id`" /><input type="hidden" name="op" value="mes +sage" /><input type="text" name="message" value="&#x5bid://`id`&#x5d" + size="26" maxlength="255" /><input type="submit" name="message_send" + value="talk"/></font></form> <br>

Replies are listed 'Best First'.
Re^2: Allowing c&p of node headers
by LanX (Saint) on May 16, 2010 at 14:54 UTC
    hihi, funny idea =)

    but having an additional textarea flowting around is not quite what I need, I mostly use a netbook and need every pixel I can get.

    ... but hmm I could change the JS-code such that an additional button appears to allow appending the link to the CB Nodelet...

    Cheers Rolf

    UPDATE: I've put the following code into window.onload

    document.getElementById("talkbox").value+="`[id://`id``]";

    Like this the pages CB-area is preloaded with the local ID.

    I normally use the CB-Sidebar... so I can ignore it in most cases.

    UPDATE: no ... disabled this again, I need the talk button to delete msgs.