I see people talking about it in the community but I have no idea what it is.
I had never heard of them before I started using WaniKani either. ^^ These are programs (? not sure if that’s technically the correct term - not a programmer over here) coded/designed by members of the community. Basically, they are things you can install in your browser to customize your WaniKani experience. These customizations can be purely cosmetic (i.e. changing the fonts/screen color), or they can change some of the functionalities of WaniKani. For example, a lot of people use the override script so that they have the ability to mark answers correct even when WaniKani marks them wrong.
There’s a lot more information in the post linked below, including a guide on how to install them and a list of the different scripts available/what they can do:
I hope this is kind of helpful at least. I’m by no means an expert, and I’m sure there are a lot of people on here who would be able to give you a more technical explanation of what they are/how they work.
On any web site, there three major components:
- HTML: The actual content of the web page
- Style Sheets (CSS): Describes how to make the HTML look (colour, borders, what gets drawn where)
On WK, these user scripts can do quite a lot because WK provides its users with the so-called API (application programming interface). This is basically just plain text files containing various information (your user name, your level, how many radicals in your review pile, etc.) that can be read by the user scripts.
User scripts can then use this information to enhance your user experience. For example the Ultimate Timeline user script shows bar graphs of your next review sessions for the next X days.
What is a userscript?
Like with the cooking example above, you can do great things with userscripts. You can read comments about a recipe that might suggest adding thyme in addition to basil to get a deeper flavor, but there are also scripts that can break the functionality of a website. Imagine if you were making a cake and you found a comment (userscript) that said “hey, I made this cake, and it was so much better when I replaced all of the sugar with salt!” that might not give you the best results, but you’re making the cake, so nothing is there to stop you. Most of the really popular user scripts you see people talking about have been vetted by other members of the community, but you should go into it knowing that not everything is perfect.
Also, at least for the case of the forums here on Discourse, @Isila, there are a few “Stylish” addons that you can get to change the appearance of the forum, using CSS. Sometimes we still refer to them as userscripts as well, even though that is not technically correct. Instead, they’re in reality more of a SKIN being placed on top of the website, like you painted over it all with a colour. Functionality does not change (although some could argue it does, as some Stylish designs involve moving bits of the website around - so the layout is also different), but appearance does.
A userfriendly tl;dr - those are addons/plugins to enhance the WK functionality and are made by the community.
I had heard those being called “userstyles”.
That would definitely be correct. I’ve heard (and used) both, (even knowing “script” is incorrect). ^^;
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.