LT Auto Link Replies

CharlasHacking LibraryThing

Únete a LibraryThing para publicar.

LT Auto Link Replies

Este tema está marcado actualmente como "inactivo"—el último mensaje es de hace más de 90 días. Puedes reactivarlo escribiendo una respuesta.

1brightcopy
mayo 27, 2011, 3:42 am

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.






Configuration
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.

2DaynaRT
mayo 27, 2011, 8:10 am

How long did this one take to write up?

3aethercowboy
mayo 27, 2011, 8:48 am

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. :)

4Aerrin99
mayo 27, 2011, 9:02 am

1 by brightcopy>

You sir are awesome.

5JonathanGorman
mayo 27, 2011, 9:15 am

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 ;).

6brightcopy
Editado: mayo 27, 2011, 9:38 am

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.

7brightcopy
mayo 27, 2011, 12:50 pm

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!

8brightcopy
mayo 27, 2011, 12:52 pm

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.

9brightcopy
mayo 28, 2011, 12:54 am

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.

10jimroberts
Ago 8, 2012, 4:25 pm

Bump.
Because this thread is worth it.

11rosalita
Feb 13, 2013, 9:05 pm

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. :-)

12brightcopy
Feb 13, 2013, 9:38 pm

:)

13Keeline
Abr 9, 2013, 2:39 pm

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.

James
_____

14brightcopy
Abr 9, 2013, 2:48 pm

#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.

15Keeline
Abr 9, 2013, 2:50 pm

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?

James

16brightcopy
Abr 9, 2013, 2:55 pm

#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.

17Keeline
Abr 9, 2013, 4:28 pm

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.

James

18Keeline
Abr 9, 2013, 4:29 pm

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

James

19brightcopy
Abr 9, 2013, 9:05 pm

Continuing this in the thread for the floating navigation.