menu
Tatoeba
language
Zarejestruj się Zaloguj się
language Polski
menu
Tatoeba

chevron_right Zarejestruj się

chevron_right Zaloguj się

Przeglądaj

chevron_right Wyświetl losowe zdanie

chevron_right Przeglądaj po języku

chevron_right Przeglądaj według listy

chevron_right Przeglądaj po tagu

chevron_right Przeszukuj audio

Społeczność

chevron_right Tablica ogłoszeń

chevron_right Spis członków

chevron_right Członkowie wg języka

chevron_right Rodzimi użytkownicy języka

search
clear
swap_horiz
search
FlamingTofu FlamingTofu 10 listopada 2012 10 listopada 2012 22:00:19 UTC link Bezpośredni link

I wrote a simple user script to add default languages at the top of language dropdowns for easy access.

https://gist.github.com/4052448

Change the marked line to configure which languages to show.

I've only tested this script in Chrome; I don't know how well it will work in other browsers.

{{vm.hiddenReplies[14337] ? 'expand_more' : 'expand_less'}} ukryj odpowiedzi pokaż odpowiedzi
sacredceltic sacredceltic 12 listopada 2012 12 listopada 2012 17:45:34 UTC link Bezpośredni link

Hi !

Could you please explain how you install this in Chrome ?

Thanks

{{vm.hiddenReplies[14346] ? 'expand_more' : 'expand_less'}} ukryj odpowiedzi pokaż odpowiedzi
FlamingTofu FlamingTofu 12 listopada 2012 12 listopada 2012 19:13:44 UTC link Bezpośredni link

I used a userscripts extension called Tampermonkey:

https://chrome.google.com/webst...jmpbldmpobfkfo

After installing, open up Tampermonkey -> Options and press New Userscript (a tab on the far right). Paste the code there, edit the language list, and press Save.

{{vm.hiddenReplies[14350] ? 'expand_more' : 'expand_less'}} ukryj odpowiedzi pokaż odpowiedzi
sacredceltic sacredceltic 12 listopada 2012 12 listopada 2012 20:14:19 UTC link Bezpośredni link

I tried to install it in Blank Canvas Script Handler but it doesn't want to save. Do you know if there's a problem doing so ?

{{vm.hiddenReplies[14351] ? 'expand_more' : 'expand_less'}} ukryj odpowiedzi pokaż odpowiedzi
FlamingTofu FlamingTofu 12 listopada 2012 12 listopada 2012 21:04:16 UTC link Bezpośredni link

Hmmm. There appears to be a bug in Blank Canvas; it's very picky about the UserScript headers :/

I've fixed the script to work around it.

{{vm.hiddenReplies[14352] ? 'expand_more' : 'expand_less'}} ukryj odpowiedzi pokaż odpowiedzi
sacredceltic sacredceltic 12 listopada 2012 12 listopada 2012 21:58:28 UTC link Bezpośredni link

I managed to save it thanks to your correction, but it doesn't work. Do you think I need to restart Chrome ?

{{vm.hiddenReplies[14353] ? 'expand_more' : 'expand_less'}} ukryj odpowiedzi pokaż odpowiedzi
sacredceltic sacredceltic 12 listopada 2012 12 listopada 2012 23:17:12 UTC link Bezpośredni link

well, tried that and that doesn't work, still...

sacredceltic sacredceltic 12 listopada 2012 12 listopada 2012 17:58:37 UTC link Bezpośredni link

It would be even nicer if you could use the languages that are parametered in the language field of the settings http://tatoeba.org/epo/user/settings

Sbgodin Sbgodin 12 listopada 2012 12 listopada 2012 18:06:29 UTC link Bezpośredni link

Nice idea. My script only showed the few languages I know, but yours is nicer :-) One time, one may need to select the other languages.

Thanks for you work!