Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!
vintage erotica forum vintage erotica forum vintage erotica forum
vintage erotica forum
Home
Go Back   Vintage Erotica Forums > Information & Help Forum > Help Section
Best Porn Sites Live Sex Register FAQ Members List Calendar Mark Forums Read

Notices
Help Section If you have technical problems or questions then post or look for answers here.


Reply
 
Thread Tools Display Modes
Old October 27th, 2018, 06:11 AM   #241
solarbear
Senior Member
 
solarbear's Avatar
 
Join Date: Jun 2017
Posts: 462
Thanks: 62,347
Thanked 5,248 Times in 459 Posts
solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+
Default

Turboimagehost dry socket

http://vintage-erotica-forum.com/sho...74&postcount=1

here is the editor open with a search pattern i pasted in from the anonym.to page in the above topic..

__________________
Smutus Emeritus
solarbear is online now   Reply With Quote
The Following 9 Users Say Thank You to solarbear For This Useful Post:
Old October 27th, 2018, 09:22 AM   #242
halvar
Blocked!
 
Join Date: Jan 2008
Location: HH
Posts: 1,963
Thanks: 115,040
Thanked 32,801 Times in 1,955 Posts
halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+
Default

Quote:
Originally Posted by solarbear View Post
Turboimagehost dry socket

http://vintage-erotica-forum.com/sho...74&postcount=1

here is the editor open with a search pattern i pasted in from the anonym.to page in the above topic..

After another look at your screen shot I think I found the problem. The search pattern is incomplete:

here is a complete one:

The missing of the last lines make the JavaScript function syntactically wrong, so it cannot be executed.

Here is the complete version:
Code:
function(pageData, pageUrl) {
            doc = new DOMParser().parseFromString(pageData, "text/html");
            let img = doc.querySelector("img#imageid");
            if (!img) {
                img = doc.querySelector("img#uImage");
            }
            if (img) {
                return {imgUrl: img.src, status: "OK"};
            }
            return  {imgUrl: null, status: "ABORT"};
        }
I can guess what happened. The link in in my previous post to show the modification only displays a little context around the new lines, not the whole search pattern. That is how git works. One of its main purposes is tracking changes. I intended to emphasize the modification I made.

You can click on "View file" to view the whole file.
Anonym zu https://gitlab.com/UISQN/ihg-hostfile/commit/f455e23e062b40225a62c72cd553b094c1f1bc67


I recommend using the hostfile server as described here. This spares you from manually editing the host file.
http://vintage-erotica-forum.com/sho...&postcount=237

Last edited by halvar; October 27th, 2018 at 05:11 PM.. Reason: Total rewrite after closer look at screen shot, fixed gammar
halvar is offline   Reply With Quote
Old October 28th, 2018, 06:37 PM   #243
solarbear
Senior Member
 
solarbear's Avatar
 
Join Date: Jun 2017
Posts: 462
Thanks: 62,347
Thanked 5,248 Times in 459 Posts
solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+
Default

Excellent! now TIH is working
__________________
Smutus Emeritus
solarbear is online now   Reply With Quote
The Following 7 Users Say Thank You to solarbear For This Useful Post:
Old October 31st, 2018, 04:12 PM   #244
halvar
Blocked!
 
Join Date: Jan 2008
Location: HH
Posts: 1,963
Thanks: 115,040
Thanked 32,801 Times in 1,955 Posts
halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+
Default improved pimpandhost search pattern

I discovered older posts that did not work with my previous pattern, for example
http://vintage-erotica-forum.com/sho...11&postcount=1

the new pattern is:
Code:
function(pageData, pageUrl) {
            // pimpandhost URLs come in different flavors, but all contain a numeric id.
            // pimpandhost always redirects (via HTTP 30X) old format URLs to a location in the current form.
            // To avoid this redirect and make the original-size appendix work
            // the id is extracted and a new URL is buildt.

            let match = pageUrl.match(/(.*)\/([0-9]+)(.*)/);
            if (match) {
                let id = match[2];
                 pageUrl = "https://pimpandhost.com/image/" + id + "?size=original";
            } else {
                // abort if url does not contain id
                return  {imgUrl: null, status: "ABORT"}
            }
            // peform a second request to make sure the original sized image is obtained
            let req = new XMLHttpRequest();
            req.open("GET", pageUrl, false);
            req.send();
            let doc = new DOMParser().parseFromString(req.responseText, "text/html");
            let img = doc.querySelector("img.original");
            if(img) {
                let imgUrl = img.src.startsWith("http") ? img.src : pageUrl.substr(0, pageUrl.indexOf(":")) + img.src.substring(img.src.indexOf(":"));
                return {imgUrl: imgUrl, status: "OK"};
            } else {
                return  {imgUrl: null, status: "ABORT"}
            }
        }
I recommend using the hostfile server as described here. This spares you from manually editing the host file.
http://vintage-erotica-forum.com/sho...&postcount=237
halvar is offline   Reply With Quote
Old November 27th, 2018, 02:02 AM   #245
nobadguy
Senior Member
 
Join Date: Oct 2012
Posts: 286
Thanks: 11,817
Thanked 1,535 Times in 222 Posts
nobadguy 5000+nobadguy 5000+nobadguy 5000+nobadguy 5000+nobadguy 5000+nobadguy 5000+nobadguy 5000+nobadguy 5000+nobadguy 5000+nobadguy 5000+nobadguy 5000+
Default

Does someone get these down with IHG? http://vintage-erotica-forum.com/sho...8&postcount=76 http://vintage-erotica-forum.com/sho...1&postcount=77 I just get 404 pictures
nobadguy is offline   Reply With Quote
The Following 5 Users Say Thank You to nobadguy For This Useful Post:
Old November 27th, 2018, 05:00 AM   #246
solarbear
Senior Member
 
solarbear's Avatar
 
Join Date: Jun 2017
Posts: 462
Thanks: 62,347
Thanked 5,248 Times in 459 Posts
solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+solarbear 25000+
Default

those are imagevenue, first i heard of those bouncing, they came through on my end.
__________________
Smutus Emeritus
solarbear is online now   Reply With Quote
The Following 7 Users Say Thank You to solarbear For This Useful Post:
Old November 27th, 2018, 05:17 AM   #247
halvar
Blocked!
 
Join Date: Jan 2008
Location: HH
Posts: 1,963
Thanks: 115,040
Thanked 32,801 Times in 1,955 Posts
halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+
Default

Quote:
Originally Posted by nobadguy View Post
I can reproduce the problem with palemoon, although I cannot explain this.
Imgding is not affected, but uses basically the same host code.

Here is the fixed code, I also updated the hostfile on gitlab:
Code:
 
function(pageData, pageUrl) {
            doc = new DOMParser().parseFromString(pageData, "text/html");
            let img = doc.querySelector("img#thepic");
            if (img) {
                // img.src is relative and mangled by the DOMParser(). img.alt contains the original relative path
                let url = new URL(pageUrl);
                let imageUrl = url.protocol + "//" + url.hostname + "/" + img.alt;
                return {imgUrl: imageUrl, status: "OK"};
            }
            return {imgUrl: null, status: "ABORT"};
        }
I could not find the reason why it stopped working. I am beginning to suspect that my imagevenue host code never worked in Palemoon.
I did not like my old version anyway, so this is definitely an improvement.

Last edited by halvar; November 27th, 2018 at 04:31 PM.. Reason: Improved host code again
halvar is offline   Reply With Quote
Old January 16th, 2019, 02:50 AM   #248
nobadguy
Senior Member
 
Join Date: Oct 2012
Posts: 286
Thanks: 11,817
Thanked 1,535 Times in 222 Posts
nobadguy 5000+nobadguy 5000+nobadguy 5000+nobadguy 5000+nobadguy 5000+nobadguy 5000+nobadguy 5000+nobadguy 5000+nobadguy 5000+nobadguy 5000+nobadguy 5000+
Default

Having problems with motherless.
Tried this gallery:
https://m otherless.com/GB99C849 (correct link yourself)
but get nothing down. Way back we had 2 old code fixes but they also don't work anymore.
nobadguy is offline   Reply With Quote
The Following 3 Users Say Thank You to nobadguy For This Useful Post:
Old February 11th, 2019, 07:12 PM   #249
beechcott
Member
 
Join Date: Jan 2013
Posts: 64
Thanks: 2,030
Thanked 615 Times in 63 Posts
beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+
Default

I'm getting the error "Can't find new host function" with the host radikal.ru.
beechcott is offline   Reply With Quote
The Following 3 Users Say Thank You to beechcott For This Useful Post:
Old February 23rd, 2019, 04:07 AM   #250
quentim
Senior Member
 
quentim's Avatar
 
Join Date: Nov 2011
Posts: 354
Thanks: 20,633
Thanked 9,911 Times in 346 Posts
quentim 25000+quentim 25000+quentim 25000+quentim 25000+quentim 25000+quentim 25000+quentim 25000+quentim 25000+quentim 25000+quentim 25000+quentim 25000+
Default

Hi guys,



Is there a possibility to get IHG running on Linux-Mint 19, Firefox 64.0 Quantum? I am migrating from Windows to Linux, and I kept an ancient Firefox version there running mostly because of IHG, which I used for over 10 years.



I tried installing IHG v1.7.0.4c from imagehostgrabber.com, and also the 1.7.0.4a version from https://github.com/cblknittights/ImageHost-Grabber, and in each case I got a "extension did not install, appears to be corrupt" error.



I also tried setting about:config xpiinstall.signatures.required to FALSE as suggested on this thread, with no effect.



Please help, IHG has been a mainstay and I can't live without it!



Thanks.
quentim is offline   Reply With Quote
The Following 4 Users Say Thank You to quentim For This Useful Post:
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump




All times are GMT. The time now is 04:18 AM.






vBulletin Optimisation provided by vB Optimise v2.6.1 (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.