Sleazy Fork is available in English.

pornhub title filter

This script filters out pornhub videos containing certain keywords.

  1. // ==UserScript==
  2. // @name pornhub title filter
  3. // @namespace pornhub_title_filter
  4. // @version 1
  5. // @description This script filters out pornhub videos containing certain keywords.
  6. // I got tired of 'step' titles on pornhub, but you can adapt the filter as you see fit.
  7. // Source https://github.com/nsfw-free-software/pornhub_filter_step
  8. // @license WTFPLv2
  9. // @grant none
  10. // @match https://www.pornhub.com/*
  11. // ==/UserScript==
  12.  
  13. re = /step|hermanastra/i;
  14.  
  15. // filters homepage
  16. matchs = document.querySelectorAll(".thumbnailTitle");
  17. matchs.forEach(e => {
  18. if(e.innerText.match(re)){
  19. e.parentElement.parentElement.parentElement.parentElement.parentElement.remove()
  20. }
  21. });
  22.  
  23. // filters other pages, eg a category page
  24. matchs = document.querySelectorAll(".gtm-event-thumb-click");
  25. matchs.forEach(e => {
  26. if(e.innerText.match(re)){
  27. e.parentElement.parentElement.parentElement.parentElement.remove()
  28. }
  29. });