Bypass wikifeet.com EU restriction

26/10/2024 10:39:14

  1. // ==UserScript==
  2. // @name Bypass wikifeet.com EU restriction
  3. // @namespace Violentmonkey Scripts
  4. // @match https://www.wikifeet.com/*
  5. // @grant none
  6. // @version 1.1
  7. // @author feetfan
  8. // @description 26/10/2024 10:39:14
  9. // @license copyleft
  10. // ==/UserScript==
  11.  
  12. document.querySelectorAll(".thumb").forEach((thumbnail) => {
  13. var thumbnail_style = window.getComputedStyle(thumbnail, false);
  14. var thumbnail_url = thumbnail_style.backgroundImage.slice(4, -1).replace(/"/g, "");
  15. var hq_image_url = thumbnail_url.replace("thumbs.wikifeet", "pics.wikifeet");
  16. var a = thumbnail.parentNode;
  17. a.href = hq_image_url;
  18. });