Sleazy Fork is available in English.

rule 34 direct image links

gives direct links to images on rule 34.xxx, useful for mouseover addons

  1. // ==UserScript==
  2. // @name rule 34 direct image links
  3. // @namespace heck
  4. // @version 0.1
  5. // @description gives direct links to images on rule 34.xxx, useful for mouseover addons
  6. // @author You
  7. // @match https://rule34.xxx/index.php?page=post&s=list*
  8. // @exclude https://rule34.xxx/index.php?page=post&s=view*
  9. // @require https://code.jquery.com/jquery-3.3.1.js
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. Array.prototype.forEach.call($(".thumb"), function(el) {
  14. let newSpan = document.createElement("span");
  15. let currentLink = el.children[0].children[0].src;
  16. // newSpan.style.padding-bottom = "3px";
  17. let mp4Version = currentLink.replace("us.rule34", "nymp4.rule34").replace("thumbnails", "\/images").replace("thumbnail_", "").replace(/\.jpg\?\d+/, ".mp4");
  18. newSpan.innerHTML = `<br> <a href=${mp4Version}>mp4</a>`;
  19. el.children[0].after(newSpan);
  20. });