Fixes images not loading by using another server
当前为
// ==UserScript==
// @name Fix image loading
// @namespace Violentmonkey Scripts
// @match https://manganelo.com/chapter/*
// @match https://mangakakalot.com/chapter/*
// @grant none
// @version 1.2
// @author Ost
// @description Fixes images not loading by using another server
// ==/UserScript==
var regex = /(https:\/\/s\d*\.mkklcdnv\d*\.com)(.*)/gm;
img = document.getElementsByTagName('img');
for (var i = 0; i < img.length; i++) {
img[i].src = img[i].src.replace(regex, "https://s8.mkklcdnv8.com$2");
}
console.log("if image loading fails set network.http.referer.spoofSource to false");
console.log("if no referers are sent try setting network.http.referer.XOriginPolicy to 0");