Compare commits

...

3 commits

Author SHA1 Message Date
Nicholas Phillips
1e9db93959 Merge branch 'main' of https://git.bowu.dev/bowu/UserScriptsPublic
Some checks failed
Node.js CI / build (push) Has been cancelled
2024-08-02 10:49:21 -04:00
Nicholas Phillips
d594b6b804 Created README.md 2024-08-02 10:48:48 -04:00
Nicholas Phillips
bf621c0c00 Updated to work with Fansly and OnlyFans 2024-08-02 10:48:39 -04:00
3 changed files with 56 additions and 0 deletions

20
README.md Normal file
View file

@ -0,0 +1,20 @@
# These are my **public** UserScripts.
## [free-porn.user.js](build\free-porn.user.js) <small>[(.min.js)](build\free-porn.min.user.js)</small>
This is a script which fetches and embeds all creators from coomer.su and kemono.su.
It will detect if a creator is on one of those sources, if it is, it offers to redirect.
Because no one wants porn on their monthly statement.
### Examples
![OnlyFans - belledelphine screenshot](image.png)
- `https://onlyfans.com/belledelphine` => `https://coomer.su/onlyfans/user/belledelphine`
- `https://fansly.com/Morgpie/posts` => `https://coomer.su/fansly/user/286621667281612800`
### Extras
- [src\coomer.su.json](src\coomer.su.json) (contents of https://coomer.su/api/v1/creators.txt)
- [src\coomer.su-modded.json](src\coomer.su-modded.json) (minimal variant)
- [src\kemono.su.json](src\kemono.su.json) (contents of https://kemono.su/api/v1/creators.txt)
- [src\kemono.su-modded.json](src\kemono.su-modded.json) (minimal variant)

BIN
image.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

View file

@ -20,9 +20,45 @@
handlers: {
onlyfans: () => {
console.log("[🦜] onlyfans called");
// https://onlyfans.com/belledelphine
let parsed = new URL(location.href);
let id = parsed.pathname.split("/")[1];
let dd = figureDomain();
let dCreators = config.creators[dd[1]];
for (const key in dCreators) {
if (Object.hasOwnProperty.call(dCreators, key)) {
const creator = dCreators[key];
if (creator.id === id) {
clearInterval(looper);
let dest = locationGen(dd[0], dd[1], id);
if (confirm("Redirecting to " + dest)) {
location.href = dest;
}
break;
}
}
}
},
fansly: () => {
console.log("[🦜] fansly called");
// https://fansly.com/Morgpie
let parsed = new URL(location.href);
let id = parsed.pathname.split("/")[1];
let dd = figureDomain();
let dCreators = config.creators[dd[1]];
for (const key in dCreators) {
if (Object.hasOwnProperty.call(dCreators, key)) {
const creator = dCreators[key];
if (creator.name === id) {
clearInterval(looper);
let dest = locationGen(dd[0], dd[1], creator.id);
if (confirm("Redirecting to " + dest)) {
location.href = dest;
}
break;
}
}
}
},
candfans: () => {
console.log("[🦜] candfans called");