Discussies » Ontwikkeling

What's the best way to add NSFW sites support to a script?

§
Geplaatst: 31-03-2022

I kind of want to add support for NSFW sites like e-hentai to my script. By the requirements of GreasyFork that means I need to mark this script as an adult script which will not be displayed on the main site unless user specifically enabled.

I don’t want my script to be hidden behind a NSFW wall since the script also supports regular sites. I’ve spent the last month thinking about this but I haven’t came out with a great solution yet.

Either I need to deliver two copies of the script which means almost 2x maintenance, 2x issue count and half of the download count. It’s just not the thing I want to do.

Or I implement some kind of communication between scripts which I still haven’t figured out how to do, then release an addon on top of the base script to support NSFW sites.

So what’s the best way to do this, if communication between scripts is possible please tell me how to do it, huge thanks.

Reactie plaatsen

Log in om antwoord te geven.