Bypass wikifeet.com EU restriction

26/10/2024 10:39:14

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        Bypass wikifeet.com EU restriction
// @namespace   Violentmonkey Scripts
// @match       https://www.wikifeet.com/*
// @grant       none
// @version     1.1
// @author      feetfan
// @description 26/10/2024 10:39:14
// @license copyleft
// ==/UserScript==

document.querySelectorAll(".thumb").forEach((thumbnail) => {
  var thumbnail_style = window.getComputedStyle(thumbnail, false);
  var thumbnail_url = thumbnail_style.backgroundImage.slice(4, -1).replace(/"/g, "");
  var hq_image_url = thumbnail_url.replace("thumbs.wikifeet", "pics.wikifeet");
  var a = thumbnail.parentNode;
  a.href = hq_image_url;
});