ch-utils
ch-utils copied to clipboard
offering to port my userscripts into this extension
I have two userscripts that I think could be a good fit for this extension:
- an nsfw page tool (porn viewer) that clicks all "show 18+" buttons for you, BUT:
- only when you're logging into certain configured pages
- not if there's a content warning on the post (this could be a configuration option to also click if there's content warnings)
- infinite scroll, which I think may be less of a good fit for the architecture of this extension... BUT I think it is possible to integrate it into this extension. infinite scroll has some pros and cons though....
- pro: awesome feature to a bunch of people! it makes me use the site so much more
- pro: putting it in this extension would make it accessible to a lot of people who don't want to deal with userscripts
- con: it's fragile as hell
- con: it's hacky out of necessity....
- pro: I would maintain it (with easrng and mintexists), and I believe it fails gracefully now, previously it would crash cohost and just make a white screen when it encountered an error. that shouldn't happen anymore.
let me know what you think and what you're interested in. feature (1) would be soooo easy and I basically already have it ported into chutils, just haven't tested or made the PR
here is the infinite scroll userscript for reference: http://wowperfect.net/userscripts/cohost-infinite-scroll.user.js