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
AlanF_US AlanF_US ٢٧ نوفمبر ٢٠١٢ ٢٧ نوفمبر ٢٠١٢ ١١:٥٧:٥٧ م UTC link Permalink

As it currently stands, the text of a sentence behaves as a link to that sentence. That does make it easy to navigate to that sentence, since the text essentially acts as a long, clickable link. But I often want to copy and paste words from the sentence into another application, such as an online dictionary or a flashcard utility, and the current behavior makes that difficult. I've found that sometimes I can get around the problem by selecting an area slightly above or below the text I want to copy. This is not so easy. If I'm even slightly off, I end up selecting the entire text, or a neighboring sentence. From my point of view, I would prefer it if there was a simple button next to each sentence to let me select it, which would free the text of the sentence to behave as plain text. What do others think about this?

{{vm.hiddenReplies[14542] ? 'expand_more' : 'expand_less'}} أخفِ الردود أظهر الردود
al_ex_an_der al_ex_an_der ٢٨ نوفمبر ٢٠١٢ ٢٨ نوفمبر ٢٠١٢ ١:٥٩:٥٣ ص UTC link Permalink

I button allowing to copy the whole sentence by only one click would be most useful in my eyes.

{{vm.hiddenReplies[14543] ? 'expand_more' : 'expand_less'}} أخفِ الردود أظهر الردود
sacredceltic sacredceltic ٢٨ نوفمبر ٢٠١٢ ٢٨ نوفمبر ٢٠١٢ ٨:١٧:٤٧ ص UTC link Permalink

+100

halfb1t halfb1t ٢٨ نوفمبر ٢٠١٢ ٢٨ نوفمبر ٢٠١٢ ٢:٠٨:٥٢ ص UTC link Permalink

I just click the sentence: it's easy to go back.

Once I get there, the sentence's not a link anymore.

FlamingTofu FlamingTofu ٢٨ نوفمبر ٢٠١٢ ٢٨ نوفمبر ٢٠١٢ ٤:٤١:٣٦ ص UTC link Permalink

I made a userscript to fix this:

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

To follow links as usual, use the green or gray arrows to the left of the sentence.

Tested in Chrome. I don't know about other browsers.

{{vm.hiddenReplies[14545] ? 'expand_more' : 'expand_less'}} أخفِ الردود أظهر الردود
sacredceltic sacredceltic ٢٨ نوفمبر ٢٠١٢ ٢٨ نوفمبر ٢٠١٢ ٨:٢٢:٣٤ ص UTC link Permalink

Bravo et merci !

Very clever ! I have been in need of this for years !

FlamingTofu FlamingTofu ٢٨ نوفمبر ٢٠١٢ ٢٨ نوفمبر ٢٠١٢ ٨:٢٩:٠١ ص UTC link Permalink

Thank you!

There a few problems with it (e.g. sentences in lists). I'll release a new version when I find some time to work on it.

{{vm.hiddenReplies[14549] ? 'expand_more' : 'expand_less'}} أخفِ الردود أظهر الردود
AlanF_US AlanF_US ٢٨ نوفمبر ٢٠١٢ ٢٨ نوفمبر ٢٠١٢ ٤:٤٦:٥٤ م UTC link Permalink

How do I run the script (or any other script)? In case the browser I'm using affects the answer: I tend to use Firefox, but I could use Chrome if necessary.

{{vm.hiddenReplies[14555] ? 'expand_more' : 'expand_less'}} أخفِ الردود أظهر الردود
AlanF_US AlanF_US ٢٨ نوفمبر ٢٠١٢ ٢٨ نوفمبر ٢٠١٢ ٥:٠٧:١١ م UTC link Permalink

Hmm, from the URL title I guess that it's a Greasemonkey script. I saved it to 153139.user.js, then installed it in Firefox, but I didn't see any difference in behavior: no arrow to the left of the sentence, and the sentence text still behaves as a link.

AlanF_US AlanF_US ٢٨ نوفمبر ٢٠١٢ ٢٨ نوفمبر ٢٠١٢ ٥:١٩:٢٤ م UTC link Permalink

I also tried to install it from Chrome, but that didn't seem to work due to the following error:

Script: [path]\15139user.js
Line: 10
Char: 5
Error: 'document' is undefined
Code: 800A1391
Source: Microsoft JScript runtime error

I'm running on a 64-bit Windows 7 machine.

FlamingTofu FlamingTofu ٢٨ نوفمبر ٢٠١٢ ٢٨ نوفمبر ٢٠١٢ ٧:٤٠:٠١ م UTC link Permalink

I got it working in Firefox with the following steps:

1. Install Greasemonkey.
2. Click on the Greasemonkey icon to enable it.
3. Click "install" on the userscript page.
4. Greasemonkey will produce a dialog asking you to confirm the installation. Click Install on this dialog.
(If Greasemonkey does not produce a dialog, click on the Greasemonkey icon again.)

{{vm.hiddenReplies[14563] ? 'expand_more' : 'expand_less'}} أخفِ الردود أظهر الردود
AlanF_US AlanF_US ٢٨ نوفمبر ٢٠١٢ ٢٨ نوفمبر ٢٠١٢ ٩:٥٢:٤٩ م UTC link Permalink

Okay, the script is working. (I was thrown off by the mention of the "green arrow to the left of the sentence", which I couldn't find but now realize is probably the existing one in the translate icon [Japanese hiragana "a" with arrow to Latin "a"].) However, the results are not what I expected. The sentence still turns orange when I hover over it, and when I try to select a single word, the entire sentence is selected. Is it possible to change this behavior?

{{vm.hiddenReplies[14569] ? 'expand_more' : 'expand_less'}} أخفِ الردود أظهر الردود
AlanF_US AlanF_US ٢ ديسمبر ٢٠١٢ ٢ ديسمبر ٢٠١٢ ١:٠٨:٤٧ ص UTC link Permalink

I'm able to select a single word now. The fact that the sentence turns orange is not a problem.

AlanF_US AlanF_US ٢ ديسمبر ٢٠١٢ ٢ ديسمبر ٢٠١٢ ١:٠٩:٢٣ ص UTC link Permalink

Thanks, @FlamingTofu!

al_ex_an_der al_ex_an_der ٣٠ نوفمبر ٢٠١٢ ٣٠ نوفمبر ٢٠١٢ ٣:٥٢:٢١ م UTC link Permalink

@FlamingTofu
I had installed/added your user-script (via Greasemonkey. Because of some unwanted consequences, I meanwhile have removed it again. But some former functions of tatoeba were not restored. When I want to add a tag there are no proposals made (during the typing of the tag name) as before, which of course was really useful. Still the sentences in the sentence list are not clickable links. Is there a way to really get rid of these changes? I use Windows 7.

{{vm.hiddenReplies[14586] ? 'expand_more' : 'expand_less'}} أخفِ الردود أظهر الردود
FlamingTofu FlamingTofu ٣٠ نوفمبر ٢٠١٢ ٣٠ نوفمبر ٢٠١٢ ٨:٥٦:٠٤ م UTC link Permalink

Have you tried temporarily disabling Greasemonkey?

Also try running a hard refresh (Ctrl+F5).

{{vm.hiddenReplies[14590] ? 'expand_more' : 'expand_less'}} أخفِ الردود أظهر الردود
al_ex_an_der al_ex_an_der ٣٠ نوفمبر ٢٠١٢ ٣٠ نوفمبر ٢٠١٢ ١٠:٤١:٢٢ م UTC link Permalink

> ... disabling Greasemonkey?

How can I do this?

{{vm.hiddenReplies[14591] ? 'expand_more' : 'expand_less'}} أخفِ الردود أظهر الردود
FlamingTofu FlamingTofu ٣٠ نوفمبر ٢٠١٢ ٣٠ نوفمبر ٢٠١٢ ١٠:٤٣:٤٣ م UTC link Permalink

Click on the Greasemonkey icon and uncheck "Enabled"?

Sorry to cause so much trouble :(

freefighter freefighter ٢ ديسمبر ٢٠١٢ ٢ ديسمبر ٢٠١٢ ٥:٥٢:٠٢ م UTC link Permalink

Well, this might not have anything to do with FlamingTofu's script. It won't work in any other browser for me. IE, FF, Chrome (Script handlers disabled)...

Can other people get this function working as usual? May I have some feedback?