Board Thread:Script Suggestions/@comment-24142930-20180428163609/@comment-30358302-20180428173254

I think you are looking for Special:CategoryTree (because it does have a similar function, as you explained). For example, it looks like this Special:CategoryTree?target=JavaScript.