[userstyle] Example sentence spoiler tags


#1

Hi. A long time ago I decided I wanted to figure out what the example sentence means in lessons before being given the meaning. You know, to get that bit of extra practice for sentence comprehension. So I wrote this bit of CSS for Stylish to spoiler it and reveal the meaning of the sentence on hover. So now I’m releasing it in case anyone finds it useful. 

https://userstyles.org/styles/128679/wanikani-example-sentence-spoiler-tags


#2

As an alternative there is a similar script to this made by rfindley which doesn’t require Stylish: here. Snazzy stuff all around!


#3
sirvorn said... As an alternative there is a similar script to this made by rfindley which doesn't require Stylish: here. Snazzy stuff all around!
 I thought the same at first, but @magno's script is for the Lesson pages.  Mine's just on the vocab pages.

#4

Ah, I knew  it had to have been done but searching around I didn’t find it. Use his, he actually maintains his stuff. 

Edit: So, it is different.  Ideally it’d probably be integrated though so that you could hide them anywhere you want.  Lessons are the only place I really use the built-in context sentences. 


#5

[edit]


#6

Lol… I just looked at my script again.  Apparently, it does work on the lesson and review pages.

But in the process, I discovered you can access vocab items via two different URLs:
   https://www.wanikani.com/vocabulary/<word>
   https://www.wanikani.com/level/*/vocabulary/<word>

So, I just updated it to cover that scenario, too.


#7

Cool. All is well. 


#8

I’m just here to mark the thread for myself.

And I also thought about making something like those every now and then but turned out to be too lazy or procrastinated and forgot. teh heh