pervert-monkey 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/README.md +0 -3
  2. package/dist/core/{pervertmonkey.core.es.js → mylib.core.es.js} +25 -2
  3. package/dist/core/mylib.core.es.js.map +1 -0
  4. package/dist/core/{pervertmonkey.core.umd.js → mylib.core.umd.js} +26 -3
  5. package/dist/core/mylib.core.umd.js.map +1 -0
  6. package/dist/core/pervertmonkey.core.es.d.ts +4 -4
  7. package/dist/userscripts/3hentai.user.js +14 -1156
  8. package/dist/userscripts/camgirlfinder.user.js +40 -42
  9. package/dist/userscripts/camwhores.user.js +315 -1542
  10. package/dist/userscripts/e-hentai.user.js +46 -1188
  11. package/dist/userscripts/ebalka.user.js +35 -1203
  12. package/dist/userscripts/eporner.user.js +61 -1223
  13. package/dist/userscripts/erome.user.js +69 -1209
  14. package/dist/userscripts/eroprofile.user.js +23 -1165
  15. package/dist/userscripts/javhdporn.user.js +15 -1157
  16. package/dist/userscripts/missav.user.js +16 -1158
  17. package/dist/userscripts/motherless.user.js +140 -1342
  18. package/dist/userscripts/namethatporn.user.js +50 -1191
  19. package/dist/userscripts/nhentai.user.js +90 -1232
  20. package/dist/userscripts/pornhub.user.js +33 -1175
  21. package/dist/userscripts/spankbang.user.js +41 -1209
  22. package/dist/userscripts/thisvid.user.js +2660 -0
  23. package/dist/userscripts/xhamster.user.js +126 -1339
  24. package/dist/userscripts/xvideos.user.js +60 -1227
  25. package/package.json +10 -9
  26. package/src/core/index.ts +4 -0
  27. package/src/index.ts +2 -42
  28. package/src/userscripts/meta.json +5 -1
  29. package/src/userscripts/scripts/3hentai.ts +1 -1
  30. package/src/userscripts/scripts/camwhores.ts +8 -9
  31. package/src/userscripts/scripts/e-hentai.ts +2 -2
  32. package/src/userscripts/scripts/ebalka.ts +2 -3
  33. package/src/userscripts/scripts/eporner.ts +2 -2
  34. package/src/userscripts/scripts/erome.ts +1 -1
  35. package/src/userscripts/scripts/eroprofile.ts +1 -1
  36. package/src/userscripts/scripts/javhdporn.ts +1 -1
  37. package/src/userscripts/scripts/missav.ts +1 -1
  38. package/src/userscripts/scripts/motherless.ts +2 -4
  39. package/src/userscripts/scripts/namethatporn.ts +1 -1
  40. package/src/userscripts/scripts/nhentai.ts +2 -2
  41. package/src/userscripts/scripts/pornhub.ts +1 -1
  42. package/src/userscripts/scripts/spankbang.ts +4 -5
  43. package/src/userscripts/scripts/xhamster.ts +5 -5
  44. package/src/userscripts/scripts/xvideos.ts +2 -3
  45. package/src/utils/index.ts +39 -0
  46. package/src/vite-env.d.ts +1 -1
  47. package/dist/core/pervertmonkey.core.es.js.map +0 -1
  48. package/dist/core/pervertmonkey.core.umd.js.map +0 -1
  49. package/src/userscripts/scripts/thisvid.ts +0 -716
@@ -11,6 +11,8 @@
11
11
  // @source github:smartacephale/sleazy-fork
12
12
  // @supportURL https://github.com/smartacephale/sleazy-fork/issues
13
13
  // @match https://camgirlfinder.net/*
14
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@latest/dist/core/pervertmonkey.core.umd.js
15
+ // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
14
16
  // @grant none
15
17
  // @run-at document-idle
16
18
  // ==/UserScript==
@@ -18,51 +20,47 @@
18
20
  (function () {
19
21
  'use strict';
20
22
 
21
- (function () {
22
-
23
- const websites = [
24
- { name: "camwhores.tv", url: (u) => `https://camwhores.tv/search/${u}/` },
25
- {
26
- name: "webcamrecordings.com",
27
- url: (u) => `https://www.webcamrecordings.com/modelSearch/${u}/page/1/`
28
- },
29
- { name: "camvideos.me", url: (u) => `https://camvideos.me/search/${u}` },
30
- { name: "recu.me", url: (u) => `https://recu.me/performer/${u}` },
31
- {
32
- name: "privat-zapisi.info",
33
- url: (u) => `https://www.privat-zapisi.info/search/${u}/`
34
- }
35
- ];
36
- function createLinks(name) {
37
- return websites.map(
38
- (w) => `
23
+ const websites = [
24
+ { name: "camwhores.tv", url: (u) => `https://camwhores.tv/search/${u}/` },
25
+ {
26
+ name: "webcamrecordings.com",
27
+ url: (u) => `https://www.webcamrecordings.com/modelSearch/${u}/page/1/`
28
+ },
29
+ { name: "camvideos.me", url: (u) => `https://camvideos.me/search/${u}` },
30
+ { name: "recu.me", url: (u) => `https://recu.me/performer/${u}` },
31
+ {
32
+ name: "privat-zapisi.info",
33
+ url: (u) => `https://www.privat-zapisi.info/search/${u}/`
34
+ }
35
+ ];
36
+ function createLinks(name) {
37
+ return websites.map(
38
+ (w) => `
39
39
  <a rel="nofollow" href="${w.url(name)}">
40
40
  <img class="platform-icon" title="${w.name}" src="https://www.google.com/s2/favicons?sz=64&domain=${w.name}"></a>`
41
- ).join(" ");
42
- }
43
- function addRedirectButton() {
44
- if (!document.body.querySelector(".model-name")?.innerText.trim()) return;
45
- document.querySelectorAll(".result:not(.fucked)").forEach((e) => {
46
- const name = e.querySelector(".model-name")?.innerText.trim();
47
- if (name?.length === 0) return;
48
- e.querySelector("p:last-child").innerHTML += createLinks(name);
49
- e.classList.add("fucked");
50
- });
51
- }
52
- let timeout;
53
- const observer = new MutationObserver((mutations) => {
54
- mutations.forEach(() => {
55
- clearTimeout(timeout);
56
- timeout = setTimeout(addRedirectButton, 300);
57
- });
41
+ ).join(" ");
42
+ }
43
+ function addRedirectButton() {
44
+ if (!document.body.querySelector(".model-name")?.innerText.trim()) return;
45
+ document.querySelectorAll(".result:not(.fucked)").forEach((e) => {
46
+ const name = e.querySelector(".model-name")?.innerText.trim();
47
+ if (name?.length === 0) return;
48
+ e.querySelector("p:last-child").innerHTML += createLinks(name);
49
+ e.classList.add("fucked");
58
50
  });
59
- observer.observe(document.body, {
60
- attributes: true,
61
- childList: true,
62
- subtree: true
51
+ }
52
+ let timeout;
53
+ const observer = new MutationObserver((mutations) => {
54
+ mutations.forEach(() => {
55
+ clearTimeout(timeout);
56
+ timeout = setTimeout(addRedirectButton, 300);
63
57
  });
64
- addRedirectButton();
65
-
66
- })();
58
+ });
59
+ observer.observe(document.body, {
60
+ attributes: true,
61
+ childList: true,
62
+ subtree: true
63
+ });
64
+ addRedirectButton();
67
65
 
68
66
  })();