Links various membership platforms to Kemono and Coomer.
On Patreon, there isn't really a reliable way to detect whether the user is currently accessing a profile page or not. Fanbox, for example, graciously prefixes user pages with an @
, meaning I can restrict the script to those pages, but Patreon doesn't. Using a blacklist approach (i. e. running on all Patreon pages except ones including /posts/
, etc.) will always be difficult and, as mentioned, unreliable.
That being said, I did fix the "Querying platforms" bug you mentioned in the latest version (2.17.3). It should go live on Greasy Fork in a few hours.
Some patterns can be safely blacklisted: main page, search
Okay, it took a bit, but I believe I now have a reasonably complete list of URLs to blacklist. I've added them to the latest version (2.17.4). Please try it and see if there's any I missed.
Nice!
Please exclude:
https://www.patreon.com/home
https://www.patreon.com/create
https://www.patreon.com/login
https://www.patreon.com/forgot-password
https://www.patreon.com/messages?*
https://www.patreon.com/notifications?*
https://www.patreon.com/settings/*
https://www.patreon.com/en-GB
https://www.patreon.com/en-GB/*
https://www.patreon.com/de-DE
https://www.patreon.com/de-DE/*
https://www.patreon.com/es-ES
https://www.patreon.com/es-ES/*
https://www.patreon.com/fr-FR
https://www.patreon.com/fr-FR/*
https://www.patreon.com/it-IT
https://www.patreon.com/it-IT/*
They all display "Querying platforms, please wait..."
I still believe that just not displaying the box if no links were found works better.
Thanks, I've added the URLs to the blacklist in 2.17.5.
Script stopped working on Patreon.
(I cannot leave a comment on forgejo, it won't let me login)
Yeah, don't worry about Forgejo, I had to kind of close it down since spam accounts kept getting registered. Submitting issues here is totally fine too.
As for the issue itself, thanks for the report! I just released 2.20.1, making the script work again on Patreon.
Script has some issues:
* It tries to run on the home page (https://www.patreon.com/), search page, and other non-member pages.
* It tries to run on individual post pages (for example https://www.patreon.com/posts/if-you-join-but-64578985) and gets stuck on "Querying platforms, please wait..."