[Userscript]: Hide Context Sentence Translation

hi rfindley,

Similarly, I thought there used to be a script to hide the main-info.meaning element from the lesson pages.
Could you please help to find this script back?

Thanks & Cordially,



Yours appears to be a problem with the dark theme script.


I’m not familiar with that one.
But if “meaning-info.meaning” is the correct CSS selector, then you can simply add that to the CSS in this script.

indeed this script’s code seems straightforward enough for me to give this a try :slight_smile:

ps: found the expected script-name back : “Lesson Spoiler Removal” :

I am also using the Dark-Breeze theme, and I feel the white area is too bright to my eyes.

I added the ‘opacity’ property to tone down the redacted areas :

       var css =
        '.context-sentence-group p:not([lang="ja"]):not(:hover) {'+
       '  background-color:#ccc;'+
       '  color:#ccc;'+
        '  opacity:0.1;'+
        '  text-shadow:none;'+


1 Like

Thanks, that’s exactly what I needed! Though mine is lighter than yours, so I had to tweak the opacity to 0.03.


1 Like

It’s still working for me. Try disabling your other scripts and see if this one starts working. If it does, turn your other scripts back on one at a time until you find a script that interferes.

If that doesn’t solve it, try opening the Javascript console (press F12 and click on the Console tab) and post any errors you see there.

1 Like

I did nothing and suddenly it’s working again (maybe after reboot idk? Weird.) Thanks.

1 Like

Anyway the reason why I bump threads for scripts I install is so that others may stumble upon the same script on the top of the forum through serendipity, which is how I found some of the scripts I use.

Wholehartedly agree with this :slight_smile: So let me give it another bump (although it hadn’t been to long).

Thanks a lot @rfindley for making this!

Now the example sentences can become actual reading practice (I tried to not look at the translations, but that’s just not possible)

This is perfect! Exactly what I was looking for, thanks a ton @rfindley :high_touch:


thank you! @rfindley
Very useful in practicing use of the word within the sentence!

1 Like