Skip to content

Instantly share code, notes, and snippets.

@clasense4
Created January 14, 2026 01:59
Show Gist options
  • Select an option

  • Save clasense4/ccfc0e61ee56a3877c9e73132cd7212a to your computer and use it in GitHub Desktop.

Select an option

Save clasense4/ccfc0e61ee56a3877c9e73132cd7212a to your computer and use it in GitHub Desktop.
MP fix
// ==UserScript==
// @name MP fix (Hopefully the last one)
// @namespace tampermonkey.net
// @version 2.1
// @description Does what it says.
// @author I did this. :3
// @match *://*.mangapark.com/*
// @match *://*.mangapark.org/*
// @match *://*.mangapark.net/*
// @match *://*.mangapark.to/*
// @match *://*.mangapark.io/*
// @match *://*.mangapark.me/*
// @match *://*.comicpark.org/*
// @match *://*.comicpark.to/*
// @match *://*.readpark.org/*
// @match *://*.readpark.net/*
// @match *://*.mpark.to/*
// @match *://*.parkmanga.com/*
// @match *://*.parkmanga.net/*
// @match *://*.parkmanga.org/*
// @grant none
// @run-at document-idle
// ==/UserScript==
(function() {
'use strict';
const host = window.location.protocol + "//" + window.location.host;
const imgs = document.getElementsByTagName("img");
for (let i = 0; i < imgs.length; i++) {
let s = imgs[i].getAttribute("src");
if (!s) continue;
if (s.indexOf("//s") !== -1 && s.indexOf(".") !== -1) {
let p = s.split("//")[1];
p = p.substring(p.indexOf("/"));
imgs[i].src = host + p;
}
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment