Greasy Fork

Duolingo Auto-Follow Fix

Fixing the things Duo breaks. Auto-follow discussions upon posting either a comment or a reply. (Works for sentence discussions too.)

目前为 2017-12-10 提交的版本。查看 最新版本

作者
mog86uk
评分
0 0 0
版本
2.0
创建于
2017-10-25
更新于
2017-12-10
大小
980 字节
许可证
暂无
适用于

Fixing the things Duo breaks. Auto-follow discussions upon posting either a comment or a reply. (Works for sentence discussions too.)

Important - To anyone using version 1.0 of my userscript: Please update to version 2.0!

I didn't really plan to share my userscript when I originally made it. However, now that it's beginning to be shared more widely and linked to elsewhere, I've decided that I ought to rewrite it properly before too many people start using it. The new code is much more simple and efficient than the horrible mess I wrote in version 1.0. ^^

  • Version 1.0 was just something I knocked together quickly for myself. It contained typos in the code and was a bit of a mess. Even though it has worked completely flawlessly for me so far, now that I've looked back at the code I wrote and seen the mistakes I hadn't noticed I'm kinda surprised it worked at all! :P

  • Version 2.0 is a much cleaner, tidier, professional looking userscript. I got rid of using the jQuery library and switched to plain old basic JavaScript. And I've got rid of the unnecessary use of mutation observers, switching instead to a normal event listener. ^^