These user scripts for linking sentences are no longer necessary now that the GUI supports the same functionality. They are offered for reference.
User scripts for linking sentences
As described in Introduction to linking, users with "advanced contributor" status or higher can link multiple sentences to a single translation, but the native Tatoeba interface does not provide a way to link sentences that are not already indirectly linked. That need is addressed by the following user script. (Note that you may alternatively use a bookmarklet, which works in any browser without the use of an add-on.)
Tatoeba Visual Linker (author: jakov/jakovo) This script offers two alternative ways to link sentences.
-- Shopping Cart method
Go to the sentence you would like to link (Sentence A) and click on the "add to shopping cart" icon next to the sentence (!). Now the sentence is in your shopping cart and it goes wherever you go. Go to the sentence you would like to link to (Sentence B). If everything is right, you should be seeing Sentence A at the end of the translations, as if it were an indirect translation. Click the chain icon (!) to link A to B. When you want to remove a sentence from the shopping cart, click on the "remove from shopping cart" icon next to the sentence.
-- Manual method
If you already know the sentence number of Sentence A, this method could be faster. Go to the sentence you would like to link to (Sentence B). Click on the form area icon next to the shopping cart (!). You should see a form area at the end of the translations. Type the sentence number here and click on the socket icon (!). Now you should see the sentence itself. Click the chain icon (!) to link A to B.
If you want to remove a sentence from your cart, click on the cart icon (!) on the right of the sentence.