Sleazy Fork is available in English.

StripChat hide favourites

High favourite cams from listing so you can see only new ones to you

  1. // ==UserScript==
  2. // @name StripChat hide favourites
  3. // @namespace http://tampermonkey.net/
  4. // @version 2024-01-05
  5. // @description High favourite cams from listing so you can see only new ones to you
  6. // @author GordonFreeman
  7. // @match https://*stripchat.com/*
  8. // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
  9. // @grant none
  10. // @license MIT
  11. // ==/UserScript==
  12.  
  13. setInterval(function() {
  14.  
  15. var modelLinks = document.querySelectorAll(".model-list-item-lower");
  16.  
  17. // Loop through each element
  18. modelLinks.forEach(function(link) {
  19. // Get all span elements within the current link
  20. var spanElements = link.querySelectorAll("span");
  21.  
  22. // Loop through each span element
  23. spanElements.forEach(function(span) {
  24. // Check if the class contains the string "favorite"
  25. if (span.className.indexOf("favorite") !== -1) {
  26. // Hide the parent div with class "model-list-item"
  27. link.closest(".model-list-item").style.display = "none";
  28. }
  29. });
  30. });
  31.  
  32. // Find the div with id "chat"
  33. var chatDiv = document.querySelector(".chat");
  34.  
  35. // Check if the div is found
  36. if (chatDiv) {
  37.  
  38. // Hide the div by setting its style.display property to "none"
  39. chatDiv.style.display = "none";
  40. }
  41.  
  42.  
  43. }, 3000);