>is2.4chan.org
>>58598677
var links,thisLink;
links = document.evaluate("//a[contains(@href, 'is.4chan')]",
document,
null,
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
null);
for (var i=0;i<links.snapshotLength;i++) {
var thisLink = links.snapshotItem(i);
thisLink.href = thisLink.href.replace('https://is.4chan.org/',
'https://i.4cdn.org/');
}
var links,thisLink;
links = document.evaluate("//a[contains(@href, 'is2.4chan')]",
document,
null,
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
null);
for (var i=0;i<links.snapshotLength;i++) {
var thisLink = links.snapshotItem(i);
thisLink.href = thisLink.href.replace('https://is2.4chan.org/',
'https://i.4cdn.org/');
}
I will always love you anon.
>>58598735
I love you
>>58598735
where do i paste this? tamper monkey? why is is saying variable already defined
var links,thisLink;
links = document.evaluate("//a[contains(@href, 'is.4chan')]",
document,
null,
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
null);
for (var i=0;i<links.snapshotLength;i++) {
thisLink = links.snapshotItem(i);
thisLink.href = thisLink.href.replace('https://is.4chan.org/',
'https://i.4cdn.org/');
}
var links2,thisLink2;
links2 = document.evaluate("//a[contains(@href, 'is2.4chan')]",
document,
null,
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
null);
for (var h=0;h<links.snapshotLength;h++) {
thisLink2 = links.snapshotItem(h);
thisLink2.href = thisLink2.href.replace('https://is2.4chan.org/',
'https://i.4cdn.org/');
}
>>58599328
>>58598735
how do I make it work with infinite scroll?
Does this work with update?
>>58598677
Whatever gook-moot is doing to this site, images never load half the time in the thread.
Opening the content in a new window seems to work.
Why he had to change shit around when it was already working is beyond me.
>>58599944
>Whatever gook-moot is doing to this site, images never load half the time in the thread.
It also leaks the site's real IP addresses
>tfw you have been in /g/ for years but never learned programming and have no idea what is being discussed.
I like it
just add to your hostfile:#because fuck 4chan's is2 server
192.99.148.101 is2.4chan.org
>>58599956
same, I jsut use 4chan X and call it a day
>>58599995
I still don't know what x is
>>58600085
It's >>>/x/
>click on a 500kb image
>takes a few seconds to load
>go to different thread and click a 3MB image
>loads instantly
thanks taiwanese moot
>>58599944
Werks pretty well on mobiles now, tho
>checked
>>58600122
This. The speeds are okay, but i sometimes get a blank page while trying to open an image.
>>58599766
bump
I know there is a way to run the script everytime something changes but I don't know how
https://addons.mozilla.org/en-US/firefox/addon/4chan-faster-images/
>>58600122
Literally fucking this
>>58599262
yeah either greasemonkey or tampermonkey.
It's a little jacked up because I just copied and pasted the first half when hiroshima added the is2 server.
>>58599328
seems to be the correct way. Both work though.
>>58598677
>is2.4chan.org