LT Auto Link Replies

DiscussãoHacking LibraryThing

Aderi ao LibraryThing para poder publicar.

LT Auto Link Replies

Este tópico está presentemente marcado como "adormecido"—a última mensagem tem mais de 90 dias. Pode acordar o tópico publicando uma resposta.

Maio 27, 2011, 3:42am

LT Auto Link Replies

Automatically adds a link to the message number and possibly username when clicking the Reply links in Talk. Also adds a Ref link under the More section. This allows additional references to be inserted into the message composition box.

Reply auto-linking
This script provides features related to automatic link of messages in Talk. The main functionality is to cause the Reply button to insert a customizable link into the text area when clicked on.

The format used for the inserted link is configurable. To change it, scroll to the bottom of a talk topic and click the LT Auto-link config link.

Additional reference insertion
Additionally, a Ref link is added under the More menu. This button allows you to add additional references to other posts. It adds this reference to the first post composition area in the thread. So if three post composition areas have been opened, only the first will have references inserted into it by clicking on Ref.

Maio 27, 2011, 8:10am

How long did this one take to write up?

Maio 27, 2011, 8:48am

1 by brightcopy>

I've been wanting this for a while. Thanks for finally getting around to doing it so I didn't have to. :)

Maio 27, 2011, 9:02am

1 by brightcopy>

You sir are awesome.

Maio 27, 2011, 9:15am

Awesome! And here I am thinking "My weekend plans just got canceled, I'll be able to work on....oh, brightcopy beat me again." ;) Ah well, guess it gives time to do some stuff around the house. The Ref is a stroke of brilliance as well.

Now to just install this on the four or so computers I end up accessing LT on regular occasions ;).

Editado: Maio 27, 2011, 9:38am

Thanks, folks! I'd say it took abut three to four hours. But the last hour or two was done in front of the TV, which causes my efficiency to plummet.

Maio 27, 2011, 12:50pm

I updated the script to prevent it from trying to put in an auto-link when you click Edit on your own message. Hopefully didn't introduce any bugs!

Maio 27, 2011, 12:52pm

Oh, and once Tim does put in the auto-link like he proposed, I'll probably need to update the script. So keep that in mind. And if you have any problem with the Edit/Reply buttons, keep in mind to try it with greasemonkey turned off before posting in bug collectors.

Maio 28, 2011, 12:54am

BTW, there's a known bug that new messages that post after your reply posts and refreshes the thread won't auto-link when you click Reply. To fix this, just reload the page. It'd be a tricky one for the script to handle so I may never fix it.

Ago 8, 2012, 4:25pm

Because this thread is worth it.

Fev 13, 2013, 9:05pm

I don't have anything to say except that I absolutely love this script and I think warm thoughts of brightcopy every time I use it, which is daily. :-)

Fev 13, 2013, 9:38pm


Abr 9, 2013, 2:39pm

I installed several brightcopy scripts yesterday and I have been trying them out. One of them is this one. Another is the Floating Navigation Bar for Talk.

When I first clicked reply, all was well and I composed my message. However, after using "Post Message", I found that the left margin was greatly reduced and the Floating Navigation Bar was now on top of the left part of the messages. I did a screen capture which I hope will help.

I am running the current Chrome (26.x) on Mac OS X (10.6.8) with Tampermonkey and Stylish installed yesterday from the latest stable versions.


Abr 9, 2013, 2:48pm

#13 by Keeline> Yep, looks like I can reproduce the same thing, James. It only happens in certain situations where the browser window isn't that wide. Does that seem to describe your situation at all?

The floating navigation thing was just a very simple hack that I shared because someone asked. I've been meaning to revisit it to make it a lot better about certain things. I'm going to star this to come back to when I get a chance.

Until then, if you can make your window a little wider you might be able to avoid it.

Abr 9, 2013, 2:50pm

I just did a reply without using this script. The same left margin collapse (unbalanced element?) occurred after I clicked "Post Message". It is, perhaps, more tied to the floating navigation Stylish script?


Abr 9, 2013, 2:55pm

#15 by Keeline> Yeah, it's purely the floating thing. LT rejiggers some of the page setup on posting the message. I think I can handle it pretty easily if I just spend some time on it.

Abr 9, 2013, 4:28pm

No particular rush on it. I can live with it as is. However, as others use it, they may be more disturbed. I could just as easily turn off the Stylish script.


Abr 9, 2013, 4:29pm

This post reply didn't have the problem. It does show up if I do a Preview first, however.


Abr 9, 2013, 9:05pm

Continuing this in the thread for the floating navigation.