[ b / kemono / coomer / requests ]

/kemono/ - kemono.party

Kemono Development and Discussion
Name
Email
Subject
Comment
Verification
File
Password (For file deletion.)

File: 1652408808228.png (5.71 KB, 279x146, kemono_button.png)

 No.20899

sup. I've been developing a simple Tampermonkey userscript for fun and would like to know what ya'll think and if anyone would be interested in testing it soon-ish (once I polish it further and setup a proper reverse-CORS server, or even a full API server that stays in sync with Kemono).

the script checks if the paywall user you're currently checking is leaked on Kemono and adds a button to the page which redirects to it when clicked. I added some extra functionality such as a local cache so the CORS server doesn't get fetched on every single page load.

so far I've added support for Subscribestar, Patreon, Fanbox and Pixiv (the ids are the same so why not).

Unsure if I'll create a GitHub page for it but if I do, it'll be fully open-source so anyone can contribute with improvements.


- SD

 No.20911

How do you develop it though? Last time I checked developing a tampermonkey extension is done against a prod backend which is a pretty shit dev experience.

 No.20916

File: 1652441913507.png (123.9 KB, 316x551, Jiii.png)

So, basically ViewOnYP from https://github.com/TheLastZombie/userscripts ?

 No.20936

>>20916

oh. I didn't know about that one. nvm then lol


>>20911

not sure what you mean..?
open Tampermonkey > "Add new script" > write the script > save > use it.

 No.21107

>>20936
> open Tampermonkey > "Add new script" > write the script > save > use it.
And do it every time the file is changed (which all the time during development)?
I am fairly sure whatever the code you wrote refers to "https://kemono.party" origin and therefore will perform calls to the prod site.

 No.21126

>>20916
Does this work for anyone? I'm not seeing any difference or link to Kemono when I open up a Patreon or Fanbox page.

 No.21255

>>21107
…what? sorry, I legitimately don't understand what you meant. I just leave the script editor open on one tab then test it on another tab, then change the code, hit Ctrl + S and test again. the script gets saved on disk and runs on all matched pages (if that's what you're confused about).

the way I get around CORS (for development) is by using a free, third-party CORS proxy. for the actual release (if I were still working on the script, which I'm not) I would probably host my own proxy to avoid getting rate limited by the free tool.



[Return][Go to top] [Catalog] [Post a Reply]
Delete Post [ ]
[ b / kemono / coomer / requests ]