menu
تتويبا
language
سجّل لِج
language العربية
menu
تتويبا

chevron_right سجّل

chevron_right لِج

تصفح

chevron_right Show random sentence

chevron_right تصفح حسب اللغة

chevron_right تصفح حسب القائمة

chevron_right تصفح حسب الوسم

chevron_right تصفح ملفات الصوت

المجتمع

chevron_right الحائط

chevron_right قائمة بجميع الأعضاء

chevron_right لغات الأعضاء

chevron_right المتحدثون الأصليون

search
clear
swap_horiz
search
Zifre Zifre ١٧ مارس ٢٠١١ ١٧ مارس ٢٠١١ ٢:٢٠:١٥ ص UTC flag Report link Permalink

** Tatoeba Linker User Script **

In order to make it easier for trusted users and moderators to link sentences which do not appear in the indirect translations, I have created this user script:

http://userscripts.org/scripts/show/99149

It puts a box below each sentence that allows you to enter the ID of another sentence to link.

It should work in Chrome and Firefox (at least with my minimal testing). For Firefox you'll need to install GreaseMonkey:

https://addons.mozilla.org/en-U.../greasemonkey/

When you install my script, you'll probably be asked if you trust me. To use it, you'll have to. :P

The source code is pretty simple but relies pretty heavily on the current structure of the Tatoeba HTML code. So I'll try to update it if Tatoeba has a big update that breaks it.

This now makes my old bookmarklet completely unnecessary:

http://tatoeba.org/wall/show_message/4507

unless you're one of those pesky IE users. ;-)

{{vm.hiddenReplies[5401] ? 'expand_more' : 'expand_less'}} أخفِ الردود أظهر الردود
jakov jakov ١٧ مارس ٢٠١١ ١٧ مارس ٢٠١١ ١٠:٣٩:٠٤ ص UTC flag Report link Permalink

Hey Zifre! Very nice script!

If you could add
// @include http://tatoeba.org/*
as @match does not work for greasemonkey. Greasmonkey then makes the script "work" on all pages. It seems to be okay to have both @include and @match. I will add @match to my script too ;)

{{vm.hiddenReplies[5403] ? 'expand_more' : 'expand_less'}} أخفِ الردود أظهر الردود
Zifre Zifre ١٧ مارس ٢٠١١ ١٧ مارس ٢٠١١ ٣:٥٢:٤٣ م UTC flag Report link Permalink

My school's stupid filter prevents me from getting to the script. :-(

I'll try to fix it when I get home, but I might not have time until tomorrow.

Zifre Zifre ٢١ مارس ٢٠١١ ٢١ مارس ٢٠١١ ١:٥٩:٥٤ ص UTC flag Report link Permalink

Okay, I've added that. Sorry that it took so long.

Also, I now recommend that this only be used in Firefox, not Chrome. For reasons I haven't quite figured out, it interferes with the normal linking and unlinking buttons in Chrome.