I cannot get IHG / PM to download any IMX images either.
There is an art to flying, or rather a knack. The knack lies in learning how to throw yourself at the ground and miss.
Also when attempting to login to IMX now it makes you wait for several minutes checking that you're not a bot.
There is an art to flying, or rather a knack. The knack lies in learning how to throw yourself at the ground and miss.
If you are using ImageHostGrabber in Pale Moon, then it's a simple edit to your host file (hostf.xml).
You might want to make a backup copy beforehand.
Just add 'img-full' after 'centred' to the iTag for the imx.to host id.
Here's the full script if you want to replace the whole entry:
<host id="imx.to | img.yt">
<urlpattern>^https?:\/\/([^/]+\.)?(imx\.to|img\.yt)\/(i\/[\da-z]+|img-[\da-f]+\.html)</urlpattern>
<searchpattern><![CDATA[function(pageData, pageUrl) {
var retVal = {imgUrl: null, fileName: null, status: "ABORT"};
pageUrl = pageUrl.replace(/^http:/, "https:");
var postData = "imgContinue=Continue to image ... ";
retVal = httpPost(pageUrl, postData).then(response => {
// Search for <img ... class="centred" ... >
var iTag = (response.pageData.match(/<img\b[^>]*?\bclass\s*=\s*('|")centred img-full\1[^>]*?>/i)||[])[0];
if (iTag) {
var iUrl = (iTag.match(/\bsrc\s*=\s*('|")(.*?)\1/i)||[])[2];
var iName = (iTag.match(/\balt\s*=\s*('|")(.*?)\1/i)||[])[2]; // no extension here for older uploads
if (iName) { // exists and is not empty
// check for extension
var extension = iName.substring(((iName.lastIndexOf(".") - 1) >>> 0) + 2);
if (!extension) {
// get extension from iUrl
extension = iUrl.substring(((iUrl.lastIndexOf(".") - 1) >>> 0) + 2);
if (extension) iName += "." + extension;
}
}
}
return iUrl ? {imgUrl: iUrl, fileName: iName, status: "OK"} : {status: "ABORT"};
});
return retVal;
function httpPost(pageUrl, postData) {
return new Promise((fulfill, reject) => {
const req = new XMLHttpRequest();
req.onload = function() {
if (this.status === 200) // The request has succeeded.
fulfill({pageData: this.responseText, pageUrl: this.channel.URI.spec});
else reject(this.statusText);
};
req.onerror = function() {
reject(new Error("XMLHttpRequest Error: " + this.statusText));
};
req.open("POST", pageUrl, true);
req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
req.send(postData);
});
}
}]]></searchpattern>
</host>
Liked by 9 users: BongoBing, imarco, JimmCo, nhocleocay, plisken, Progishness, roger33, twat, Yazooo
Brilliant - that works! - Cross-posted to the IHG & Pale Moon support thread.
Last edited by Progishness; Yesterday at 17:34.
There is an art to flying, or rather a knack. The knack lies in learning how to throw yourself at the ground and miss.
Bravo!!![]()
Liked by 1 user: Progishness
Any solution for VRipper?
.:: FameGirls vids ::.
Liked by 1 user: Hankyboy
Thanx but not easy. have you screen PM to find that?