I have decided to create a userscript to provide functions and classes to make it easier to create other userscripts
because the other day I was working on
a userscript and realized that a couple of functions could be pretty reusable
so far it only consists of those two functions, for the most part. one of which provides the user's session ID, and the other, which distinguishes between different types of pages
currently the possibilities for that are topic, post, board, profile, search, index, and "other" for anything that doesn't fit. it's unlikely that I will actually include every possible type of page, like the help pages
when it's a topic it also has extra info about it, specifically, whether or not it's locked, whether it has a poll, and if it does, whether or not the
poll is locked
I'll probably add more parameters like that to the profile one, too, like for whether you're on the plain profile, or the stats page, or posts list, and so on
it's pretty unimpressive at the moment but I have high hopes for the future :)
a very high-priority goal is that it does not rely on jquery or any other external libraries, cus they really slow this stuff down. like, not execution speed, but there's this big delay before the userscript actually takes effect if it @requires jquery