pervert-monkey 1.0.24 → 1.0.25

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 (52) hide show
  1. package/dist/core/pervertmonkey.core.es.d.ts +3 -2
  2. package/dist/core/pervertmonkey.core.es.js +4 -3
  3. package/dist/core/pervertmonkey.core.es.js.map +1 -1
  4. package/dist/core/pervertmonkey.core.umd.js +4 -3
  5. package/dist/core/pervertmonkey.core.umd.js.map +1 -1
  6. package/dist/userscripts/3hentai.user.js +2 -2
  7. package/dist/userscripts/camgirlfinder.user.js +2 -2
  8. package/dist/userscripts/camwhores.user.js +2 -2
  9. package/dist/userscripts/e-hentai.user.js +2 -2
  10. package/dist/userscripts/ebalka.user.js +2 -2
  11. package/dist/userscripts/eporner.user.js +2 -2
  12. package/dist/userscripts/erome.user.js +2 -2
  13. package/dist/userscripts/eroprofile.user.js +2 -2
  14. package/dist/userscripts/javhdporn.user.js +2 -2
  15. package/dist/userscripts/missav.user.js +2 -2
  16. package/dist/userscripts/motherless.user.js +15 -10
  17. package/dist/userscripts/namethatporn.user.js +2 -2
  18. package/dist/userscripts/nhentai.user.js +2 -2
  19. package/dist/userscripts/obmenvsem.user.js +2 -2
  20. package/dist/userscripts/pornhub.user.js +2 -2
  21. package/dist/userscripts/simpcity.user.js +41 -0
  22. package/dist/userscripts/socialmediagirls copy.user.js +41 -0
  23. package/dist/userscripts/socialmediagirls.user.js +3 -3
  24. package/dist/userscripts/spankbang.user.js +2 -2
  25. package/dist/userscripts/thisvid.user.js +2 -2
  26. package/dist/userscripts/xhamster.user.js +2 -2
  27. package/dist/userscripts/xvideos.user.js +2 -2
  28. package/package.json +1 -1
  29. package/src/core/parsers/pagination-parser/index.ts +0 -2
  30. package/src/core/parsers/thumb-data-parser.ts +7 -3
  31. package/src/userscripts/index.ts +1 -1
  32. package/src/userscripts/scripts/3hentai.ts +1 -1
  33. package/src/userscripts/scripts/camgirlfinder.ts +1 -1
  34. package/src/userscripts/scripts/camwhores.ts +1 -1
  35. package/src/userscripts/scripts/e-hentai.ts +1 -1
  36. package/src/userscripts/scripts/ebalka.ts +1 -1
  37. package/src/userscripts/scripts/eporner.ts +1 -1
  38. package/src/userscripts/scripts/erome.ts +1 -1
  39. package/src/userscripts/scripts/eroprofile.ts +1 -1
  40. package/src/userscripts/scripts/javhdporn.ts +1 -1
  41. package/src/userscripts/scripts/missav.ts +1 -1
  42. package/src/userscripts/scripts/motherless.ts +15 -19
  43. package/src/userscripts/scripts/namethatporn.ts +1 -1
  44. package/src/userscripts/scripts/nhentai.ts +1 -1
  45. package/src/userscripts/scripts/obmenvsem.ts +1 -1
  46. package/src/userscripts/scripts/pornhub.ts +1 -1
  47. package/src/userscripts/scripts/simpcity.ts +27 -0
  48. package/src/userscripts/scripts/{socialmediagirls.ts → socialmediagirls copy.ts } +4 -3
  49. package/src/userscripts/scripts/spankbang.ts +1 -1
  50. package/src/userscripts/scripts/thisvid.ts +1 -1
  51. package/src/userscripts/scripts/xhamster.ts +1 -1
  52. package/src/userscripts/scripts/xvideos.ts +1 -1
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name 3Hentai PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 1.0.18
4
+ // @version 1.0.19
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional], Filter by Title, thumb preview
7
7
  // @license MIT
@@ -11,7 +11,7 @@
11
11
  // @source https://github.com/smartacephale
12
12
  // @supportURL https://github.com/smartacephale/sleazy-fork/issues
13
13
  // @match https://*.3hentai.net/*
14
- // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.24/dist/core/pervertmonkey.core.umd.js
14
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
15
15
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
16
16
  // @grant GM_addStyle
17
17
  // @grant unsafeWindow
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name CamGirlFinder PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 1.6.17
4
+ // @version 1.6.18
5
5
  // @author violent-orangutan
6
6
  // @description Adds model links for CamWhores, webcamrecordings, recu.me, camvideos, privat-zapisi
7
7
  // @license MIT
@@ -11,7 +11,7 @@
11
11
  // @source https://github.com/smartacephale
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@1.0.24/dist/core/pervertmonkey.core.umd.js
14
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
15
15
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
16
16
  // @grant none
17
17
  // @run-at document-idle
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name CamWhores PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 3.0.21
4
+ // @version 3.0.22
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional]. Filter by Title, Duration and Private/Public. Sort by Duration and Views. Mass friend request button. Download button
7
7
  // @license MIT
@@ -13,7 +13,7 @@
13
13
  // @match https://*.camwhores.tv
14
14
  // @match https://*.camwhores.*/*
15
15
  // @exclude https://*.camwhores.tv/*mode=async*
16
- // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.24/dist/core/pervertmonkey.core.umd.js
16
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
17
17
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
18
18
  // @grant GM_addStyle
19
19
  // @grant unsafeWindow
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name E-Hentai PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 1.0.18
4
+ // @version 1.0.19
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional], Filter by Title
7
7
  // @license MIT
@@ -11,7 +11,7 @@
11
11
  // @source https://github.com/smartacephale
12
12
  // @supportURL https://github.com/smartacephale/sleazy-fork/issues
13
13
  // @match https://*.e-hentai.org/*
14
- // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.24/dist/core/pervertmonkey.core.umd.js
14
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
15
15
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
16
16
  // @grant GM_addStyle
17
17
  // @grant unsafeWindow
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name Ebalka PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 3.0.19
4
+ // @version 3.0.20
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional], Filter by Title and Duration, Sort by Duration, Download button.
7
7
  // @license MIT
@@ -15,7 +15,7 @@
15
15
  // @match https://*ebalka.*.*/*
16
16
  // @match https://*.ebalk*.*/*
17
17
  // @match https://*.fuckingbear*.*/*
18
- // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.24/dist/core/pervertmonkey.core.umd.js
18
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
19
19
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
20
20
  // @grant GM_addStyle
21
21
  // @grant unsafeWindow
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name Eporner PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 2.0.20
4
+ // @version 2.0.21
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional], Filter by Title, Uploader, Duration and HD, Sort by Views and Duration
7
7
  // @license MIT
@@ -12,7 +12,7 @@
12
12
  // @supportURL https://github.com/smartacephale/sleazy-fork/issues
13
13
  // @match https://*.eporner.com/*
14
14
  // @match https://*.eporner.*/*
15
- // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.24/dist/core/pervertmonkey.core.umd.js
15
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
16
16
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
17
17
  // @grant GM_addStyle
18
18
  // @grant unsafeWindow
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name Erome PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 5.0.19
4
+ // @version 5.0.20
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional], Filter by Title, Uploader and Video/Photo albums, Sort by Views. Show/Hide Photos in album. Remove disclaimer. Restore Search Bar
7
7
  // @license MIT
@@ -11,7 +11,7 @@
11
11
  // @source https://github.com/smartacephale
12
12
  // @supportURL https://github.com/smartacephale/sleazy-fork/issues
13
13
  // @match *://*.erome.com/*
14
- // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.24/dist/core/pervertmonkey.core.umd.js
14
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
15
15
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
16
16
  // @grant GM_addStyle
17
17
  // @grant unsafeWindow
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name Eroprofile PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 2.0.18
4
+ // @version 2.0.19
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional], Filter by Title and Duration, Sort by Duration
7
7
  // @license MIT
@@ -11,7 +11,7 @@
11
11
  // @source https://github.com/smartacephale
12
12
  // @supportURL https://github.com/smartacephale/sleazy-fork/issues
13
13
  // @match https://*.eroprofile.com/*
14
- // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.24/dist/core/pervertmonkey.core.umd.js
14
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
15
15
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
16
16
  // @grant GM_addStyle
17
17
  // @grant unsafeWindow
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name Javhdporn PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 3.0.18
4
+ // @version 3.0.19
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional], Filter by Title and Duration, Sort By Duration and Views
7
7
  // @license MIT
@@ -12,7 +12,7 @@
12
12
  // @supportURL https://github.com/smartacephale/sleazy-fork/issues
13
13
  // @match https://*.javhdporn.net/*
14
14
  // @match https://*.javhdporn.*/*
15
- // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.24/dist/core/pervertmonkey.core.umd.js
15
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
16
16
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
17
17
  // @grant GM_addStyle
18
18
  // @grant unsafeWindow
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name Missav PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 3.0.17
4
+ // @version 3.0.18
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional], Filter by Title and Duration, Sort by Duration
7
7
  // @license MIT
@@ -15,7 +15,7 @@
15
15
  // @match https://*.missav.ws/*
16
16
  // @match https://*.missav.to/*
17
17
  // @match https://*.missav.live/*
18
- // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.24/dist/core/pervertmonkey.core.umd.js
18
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
19
19
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
20
20
  // @grant GM_addStyle
21
21
  // @grant unsafeWindow
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name Motherless PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 5.0.19
4
+ // @version 5.0.20
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional], Filter by Title, Uploader and Duration, Sort by Duration and Views
7
7
  // @license MIT
@@ -11,7 +11,7 @@
11
11
  // @source https://github.com/smartacephale
12
12
  // @supportURL https://github.com/smartacephale/sleazy-fork/issues
13
13
  // @match https://motherless.com/*
14
- // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.24/dist/core/pervertmonkey.core.umd.js
14
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
15
15
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
16
16
  // @grant GM_addElement
17
17
  // @grant GM_addStyle
@@ -51,14 +51,20 @@
51
51
  "Duration Filter",
52
52
  "Sort By",
53
53
  "Badge",
54
- "Advanced"
54
+ {
55
+ title: "Advanced",
56
+ content: [
57
+ { applyTitleFiltersToSearch: false, label: "apply title filters to search" }
58
+ ]
59
+ }
55
60
  ]
56
61
  });
57
62
  function animatePreview(_) {
58
63
  const tick = new utils.Tick(500);
59
64
  function onOver(target) {
60
65
  $(".video").off();
61
- const container = target.querySelector(".desktop-thumb.video");
66
+ const container = target.querySelector(".video");
67
+ if (!container) return;
62
68
  const img = container.querySelector("img.static");
63
69
  const stripSrc = img.getAttribute("data-strip-src");
64
70
  container.classList.toggle("animating");
@@ -105,11 +111,10 @@
105
111
  a.href = a.href.replace(/\/G/, () => header);
106
112
  });
107
113
  });
108
- document.querySelectorAll('a[href^="/term/"]:not([href^="/term/videos/"])').forEach((a) => {
109
- a.href = a.href.replace(
110
- /[\w|+]+$/,
111
- (v) => `videos/${v}?term=${v}&range=0&size=0&sort=date`
112
- );
114
+ document.querySelectorAll(
115
+ 'a[href^="/term/"]:not([href^="/term/videos/"]):not(.pop):not([rel])'
116
+ ).forEach((a) => {
117
+ a.href = a.href.replace(/[\w|+]+$/, (v) => `videos/${v}?term=${v}`);
113
118
  });
114
119
  document.querySelectorAll('#media-groups-container a[href^="/g/"]').forEach((a) => {
115
120
  a.href = a.href.replace(/\/g\//, "/gv/");
@@ -165,7 +170,7 @@
165
170
  }
166
171
  desktopAddMobGalleries().then(() => fixURLs());
167
172
  const IS_SEARCH = /^\/term\//.test(location.pathname);
168
- if (IS_SEARCH) {
173
+ if (IS_SEARCH && rules.store.state.applyTitleFiltersToSearch) {
169
174
  applySearchFilters();
170
175
  }
171
176
 
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name NameThatPorn PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 3.0.18
4
+ // @version 3.0.19
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional], Filter by Title, Uploader and Solved/Unsolved
7
7
  // @license MIT
@@ -11,7 +11,7 @@
11
11
  // @source https://github.com/smartacephale
12
12
  // @supportURL https://github.com/smartacephale/sleazy-fork/issues
13
13
  // @match https://namethatporn.com/*
14
- // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.24/dist/core/pervertmonkey.core.umd.js
14
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
15
15
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
16
16
  // @grant GM_addStyle
17
17
  // @grant unsafeWindow
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name NHentai PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 4.0.18
4
+ // @version 4.0.19
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional], Filter by Title
7
7
  // @license MIT
@@ -12,7 +12,7 @@
12
12
  // @supportURL https://github.com/smartacephale/sleazy-fork/issues
13
13
  // @match https://*.nhentai.net/*
14
14
  // @match https://*.nhentai.*/*
15
- // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.24/dist/core/pervertmonkey.core.umd.js
15
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
16
16
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
17
17
  // @grant GM_addStyle
18
18
  // @grant unsafeWindow
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name Obmenvsem PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 1.0.20
4
+ // @version 1.0.21
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional], Filter by Title and Duration, Sort by Duration
7
7
  // @license MIT
@@ -13,7 +13,7 @@
13
13
  // @match https://*.obmenvsem.com/*
14
14
  // @match https://*.obmenvsem.*/*
15
15
  // @match https://*.obmenvsems.*/*
16
- // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.24/dist/core/pervertmonkey.core.umd.js
16
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
17
17
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
18
18
  // @grant GM_addElement
19
19
  // @grant GM_addStyle
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name PornHub PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 4.0.18
4
+ // @version 4.0.19
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional]. Filter by Title, Uploader and Duration. Sort by Duration and Views
7
7
  // @license MIT
@@ -12,7 +12,7 @@
12
12
  // @supportURL https://github.com/smartacephale/sleazy-fork/issues
13
13
  // @match https://*.pornhub.com/*
14
14
  // @exclude https://*.pornhub.com/embed/*
15
- // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.24/dist/core/pervertmonkey.core.umd.js
15
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
16
16
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
17
17
  // @grant GM_addStyle
18
18
  // @grant unsafeWindow
@@ -0,0 +1,41 @@
1
+ // ==UserScript==
2
+ // @name Simpcity PervertMonkey
3
+ // @namespace pervertmonkey
4
+ // @version 1.0.1
5
+ // @author violent-orangutan
6
+ // @description Infinite scroll [optional], Filter by Title
7
+ // @license MIT
8
+ // @icon https://www.google.com/s2/favicons?sz=64&domain=simpcity.cr
9
+ // @homepage https://github.com/smartacephale/sleazy-fork#readme
10
+ // @homepageURL https://sleazyfork.org/en/users/1253342-smartacephale
11
+ // @source https://github.com/smartacephale
12
+ // @supportURL https://github.com/smartacephale/sleazy-fork/issues
13
+ // @match https://simpcity.cr/threads/*
14
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
15
+ // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
16
+ // @grant GM_addStyle
17
+ // @grant unsafeWindow
18
+ // @run-at document-end
19
+ // ==/UserScript==
20
+
21
+ (function (core) {
22
+ 'use strict';
23
+
24
+ new core.Rules({
25
+ containerSelector: ".js-replyNewMessageContainer",
26
+ paginationStrategyOptions: {
27
+ paginationSelector: ".block-container + * .pageNav",
28
+ pathnameSelector: /\/page-(\d+)\/?$/
29
+ },
30
+ thumbs: {
31
+ selector: "article.message"
32
+ },
33
+ thumb: {
34
+ strategy: "auto-text",
35
+ getUrlSelector: "a[href*=threads]"
36
+ },
37
+ gropeStrategy: "all-in-all",
38
+ schemeOptions: ["Title Filter", "Badge", "Advanced"]
39
+ });
40
+
41
+ })(core);
@@ -0,0 +1,41 @@
1
+ // ==UserScript==
2
+ // @name Socialmediagirls PervertMonkey
3
+ // @namespace pervertmonkey
4
+ // @version 1.0.4
5
+ // @author violent-orangutan
6
+ // @description Infinite scroll [optional], Filter by Title
7
+ // @license MIT
8
+ // @icon https://www.google.com/s2/favicons?sz=64&domain=socialmediagirls.com
9
+ // @homepage https://github.com/smartacephale/sleazy-fork#readme
10
+ // @homepageURL https://sleazyfork.org/en/users/1253342-smartacephale
11
+ // @source https://github.com/smartacephale
12
+ // @supportURL https://github.com/smartacephale/sleazy-fork/issues
13
+ // @match https://forums.socialmediagirls.com/threads/*
14
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
15
+ // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
16
+ // @grant GM_addStyle
17
+ // @grant unsafeWindow
18
+ // @run-at document-end
19
+ // ==/UserScript==
20
+
21
+ (function (core) {
22
+ 'use strict';
23
+
24
+ new core.Rules({
25
+ containerSelector: ".js-replyNewMessageContainer",
26
+ paginationStrategyOptions: {
27
+ paginationSelector: ".block-container + * .pageNav",
28
+ pathnameSelector: /\/page-(\d+)\/?$/
29
+ },
30
+ thumbs: {
31
+ selector: "article.message"
32
+ },
33
+ thumb: {
34
+ strategy: "auto-text",
35
+ getUrlSelector: "a[href*=threads]"
36
+ },
37
+ gropeStrategy: "all-in-all",
38
+ schemeOptions: ["Title Filter", "Badge", "Advanced"]
39
+ });
40
+
41
+ })(core);
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name Socialmediagirls PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 1.0.2
4
+ // @version 1.0.3
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional], Filter by Title
7
7
  // @license MIT
@@ -24,8 +24,8 @@
24
24
  new core.Rules({
25
25
  containerSelector: ".js-replyNewMessageContainer",
26
26
  paginationStrategyOptions: {
27
- paginationSelector: ".pageNavWrapper",
28
- pathnameSelector: /\d+/
27
+ paginationSelector: ".block-container + * .pageNav",
28
+ pathnameSelector: /\/page-(\d+)\/?$/
29
29
  },
30
30
  thumbs: {
31
31
  selector: "article.message"
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name SpankBang.com PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 4.0.18
4
+ // @version 4.0.19
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional]. Filter by Title and Duration. Sort by Duration and Views
7
7
  // @license MIT
@@ -12,7 +12,7 @@
12
12
  // @supportURL https://github.com/smartacephale/sleazy-fork/issues
13
13
  // @match https://*.spankbang.com/*
14
14
  // @match https://*.spankbang.*/*
15
- // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.24/dist/core/pervertmonkey.core.umd.js
15
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
16
16
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
17
17
  // @grant GM_addStyle
18
18
  // @grant unsafeWindow
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name ThisVid.com PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 8.0.19
4
+ // @version 8.0.20
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional]. Preview for private videos. Filter by Title, Duration, Quality and Public/Private. Sort by Duration and Views. Private/Public feed of friends uploads. Check access to private vids. Mass friend request button. Sorts messages. Download button 📼
7
7
  // @license MIT
@@ -11,7 +11,7 @@
11
11
  // @source https://github.com/smartacephale
12
12
  // @supportURL https://github.com/smartacephale/sleazy-fork/issues
13
13
  // @match https://*.thisvid.com/*
14
- // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.24/dist/core/pervertmonkey.core.umd.js
14
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
15
15
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
16
16
  // @grant GM_addStyle
17
17
  // @grant unsafeWindow
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name Xhamster PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 5.0.20
4
+ // @version 5.0.21
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional], Filter by Title, Duration and Watched/Unwatched. Sort by Duration and Views
7
7
  // @license MIT
@@ -13,7 +13,7 @@
13
13
  // @match https://*.xhamster.com/*
14
14
  // @match https://*.xhamster.*/*
15
15
  // @exclude https://*.xhamster.com/embed*
16
- // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.24/dist/core/pervertmonkey.core.umd.js
16
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
17
17
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
18
18
  // @grant GM_addElement
19
19
  // @grant GM_addStyle
@@ -1,7 +1,7 @@
1
1
  // ==UserScript==
2
2
  // @name XVideos PervertMonkey
3
3
  // @namespace pervertmonkey
4
- // @version 4.0.20
4
+ // @version 4.0.21
5
5
  // @author violent-orangutan
6
6
  // @description Infinite scroll [optional], Filter by Title, Uploader and Duration. Sort by Duration and Views.
7
7
  // @license MIT
@@ -11,7 +11,7 @@
11
11
  // @source https://github.com/smartacephale
12
12
  // @supportURL https://github.com/smartacephale/sleazy-fork/issues
13
13
  // @match https://*.xvideos.com/*
14
- // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.24/dist/core/pervertmonkey.core.umd.js
14
+ // @require https://cdn.jsdelivr.net/npm/pervert-monkey@1.0.25/dist/core/pervertmonkey.core.umd.js
15
15
  // @require data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
16
16
  // @grant GM_addStyle
17
17
  // @grant unsafeWindow
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pervert-monkey",
3
3
  "description": "daddy told us not to be ashamed of our userscripts",
4
- "version": "1.0.24",
4
+ "version": "1.0.25",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "userscript",
@@ -52,7 +52,5 @@ export function getPaginationStrategy(
52
52
  const PaginationStrategyConstructor = selectStrategy();
53
53
  const paginationStrategy = new PaginationStrategyConstructor(options);
54
54
 
55
- // console.log({ [PaginationStrategyConstructor.name]: paginationStrategy });
56
-
57
55
  return paginationStrategy;
58
56
  }
@@ -35,7 +35,7 @@ export class ThumbDataParser {
35
35
  }
36
36
 
37
37
  public getUrl(thumb: HTMLElement | HTMLAnchorElement) {
38
- return (querySelectorOrSelf(thumb, 'a[href]') as HTMLAnchorElement).href;
38
+ return (querySelectorOrSelf(thumb, this.getUrlSelector) as HTMLAnchorElement).href;
39
39
  }
40
40
 
41
41
  private preprocessCustomThumbDataSelectors() {
@@ -56,6 +56,7 @@ export class ThumbDataParser {
56
56
  }
57
57
 
58
58
  private thumbDataSelectors: ThumbDataSelector[] = [];
59
+
59
60
  private readonly defaultThumbDataSelectors: ThumbDataSelector[] = [
60
61
  { name: 'title', type: 'string', selector: '[class *= title],[title]' },
61
62
  {
@@ -91,14 +92,17 @@ export class ThumbDataParser {
91
92
  public strategy: 'manual' | 'auto-select' | 'auto-text' = 'manual',
92
93
  public selectors: ThumbDataSelectorsRaw = {},
93
94
  public callback?: (thumb: HTMLElement, thumbData: ThumbData) => void,
95
+ public getUrlSelector = 'a[href]',
94
96
  ) {
95
97
  this.preprocessCustomThumbDataSelectors();
96
98
  }
97
99
 
98
100
  public static create(
99
- o: Partial<Pick<ThumbDataParser, 'strategy' | 'selectors' | 'callback'>> = {},
101
+ o: Partial<
102
+ Pick<ThumbDataParser, 'strategy' | 'selectors' | 'callback' | 'getUrlSelector'>
103
+ > = {},
100
104
  ) {
101
- return new ThumbDataParser(o.strategy, o.selectors, o.callback);
105
+ return new ThumbDataParser(o.strategy, o.selectors, o.callback, o.getUrlSelector);
102
106
  }
103
107
 
104
108
  public getThumbData(thumb: HTMLElement): ThumbData {
@@ -1 +1 @@
1
- import './scripts/erome';
1
+ import './scripts/motherless';
@@ -4,7 +4,7 @@ import { circularShift, OnHover, Tick } from '../../utils';
4
4
 
5
5
  export const meta: MonkeyUserScript = {
6
6
  name: '3Hentai PervertMonkey',
7
- version: '1.0.18',
7
+ version: '1.0.19',
8
8
  description: 'Infinite scroll [optional], Filter by Title, thumb preview',
9
9
  match: 'https://*.3hentai.net/*',
10
10
  };
@@ -2,7 +2,7 @@ import type { MonkeyUserScript } from 'vite-plugin-monkey';
2
2
 
3
3
  export const meta: MonkeyUserScript = {
4
4
  name: 'CamGirlFinder PervertMonkey',
5
- version: '1.6.17',
5
+ version: '1.6.18',
6
6
  description:
7
7
  'Adds model links for CamWhores, webcamrecordings, recu.me, camvideos, privat-zapisi',
8
8
  match: ['https://camgirlfinder.net/*'],
@@ -17,7 +17,7 @@ import {
17
17
 
18
18
  export const meta: MonkeyUserScript = {
19
19
  name: 'CamWhores PervertMonkey',
20
- version: '3.0.21',
20
+ version: '3.0.22',
21
21
  description:
22
22
  'Infinite scroll [optional]. Filter by Title, Duration and Private/Public. Sort by Duration and Views. Mass friend request button. Download button',
23
23
  match: ['https://*.camwhores.tv', 'https://*.camwhores.*/*'],
@@ -4,7 +4,7 @@ import { fetchHtml } from '../../utils';
4
4
 
5
5
  export const meta: MonkeyUserScript = {
6
6
  name: 'E-Hentai PervertMonkey',
7
- version: '1.0.18',
7
+ version: '1.0.19',
8
8
  description: 'Infinite scroll [optional], Filter by Title',
9
9
  match: ['https://*.e-hentai.org/*'],
10
10
  };
@@ -4,7 +4,7 @@ import { downloader, exterminateVideo, OnHover, parseHtml } from '../../utils';
4
4
 
5
5
  export const meta: MonkeyUserScript = {
6
6
  name: 'Ebalka PervertMonkey',
7
- version: '3.0.19',
7
+ version: '3.0.20',
8
8
  description:
9
9
  'Infinite scroll [optional], Filter by Title and Duration, Sort by Duration, Download button.',
10
10
  match: [
@@ -5,7 +5,7 @@ import { OnHover } from '../../utils';
5
5
 
6
6
  export const meta: MonkeyUserScript = {
7
7
  name: 'Eporner PervertMonkey',
8
- version: '2.0.20',
8
+ version: '2.0.21',
9
9
  description:
10
10
  'Infinite scroll [optional], Filter by Title, Uploader, Duration and HD, Sort by Views and Duration',
11
11
  match: ['https://*.eporner.com/*', 'https://*.eporner.*/*'],