Remove e-hentai image title

Remove e-hentai all image titles. They will not show on mouse hover anymore.

  1. // ==UserScript==
  2. // @name Remove e-hentai image title
  3. // @namespace Remove e-hentai image title
  4. // @version 2.1
  5. // @description Remove e-hentai all image titles. They will not show on mouse hover anymore.
  6. // @author fmnijk
  7. // @match https://e-hentai.org/*
  8. // @match https://exhentai.org/*
  9. // @icon https://www.google.com/s2/favicons?domain=e-hentai.org
  10. // @grant none
  11. // @run-at document-end
  12. // @license MIT
  13. // ==/UserScript==
  14.  
  15. document.body.onmouseover = function() {
  16. document.querySelectorAll('img').forEach(function(img) {
  17. if (img.hasAttribute('title')) {
  18. img.setAttribute('title', '');
  19. }
  20. });
  21. document.querySelectorAll('div').forEach(function(img) {
  22. if (img.hasAttribute('title')) {
  23. img.setAttribute('title', '');
  24. }
  25. });
  26. };
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.