[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: file.png (3 KB, 153x41)
3 KB PNG
I made some changes because it was recently broken on my PC, dunno about anyone else.
Themes weren't working
Some boards weren't showing file details and the download icon
Added a Download All button to the side of the Prefetch Images in the Header, which will save the files with the thread's name, upload order and original filename

I am trying to make the captcha display all challenge images at once like the mobile apps but I'm a coding newbie.

Hmm... I don't know where I can host it. Pastebin has a 512kb limit
>>
>>108791908
>Some boards weren't showing file details and the download icon
Pretty sure that is screwed up for videos since 4chan started adding meta tags that invalidated 4chanX logic of inserting into the first child element
>>
>>108791933
I fixed it but I don't know where to host the userscript. Don't want to use my github.
>>
>>108791937
Catbox
>>
>>108791908
>>108791956
https://files.catbox.moe/hzakhs.js
>>
>>108791908
There are two ongoing forks which also fixed it.
https://github.com/nick-s-b/4chan-xt
https://github.com/figamin/Altchan-xt
Remains to be seen which one will get more popular. I am surprised no one has tried to refactor it even more and actually finish the conversion to Typescript with vibecoding now given AI agents are the best at that language other than Python and Rust, the latter of which is getting a lot more traction now with Anthropic and OpenAI investing in that infrastructure. I get the concerns with >>108791937 and have similar issues with doing it myself as well. I may give it a shot at some point with my alt Github account.
>>
>>108791988
>>108791908
I'm still using the original 4chanX. Webm files can't be closed and can't see their filenames but otherwise this works fine.
I'm going to read through every single line of these, not going to just install something blindly.
I'm especially worried about these github forks more than this catbox version.
>>
>>108792003
*I mean I'm worried about the security of course.
>>
>>108792003
You can just do a diff from mine (catbox) and you'll the only changes were done are the version number, the file details, the themes fix and the new download all button.
I don't even know how to hack shit.
>>
>>108792010
Yeah I'm fine with this, actually. Like I said, I trust less some public github forkers and more someone who posts his stuff on catbox because it's not even that public and so on.
>>
>>108792027
We're literally talking about one commit at this moment, and you don't need to turn on updates for a userscript if you don't want to. That being said, you're likely to see more breakage in the future as the original code decays and atrophies. The worst part is that its conversion to TS never completed so people are somewhat building on top of a somewhat incomplete foundation with XT with these fixes.
>>
>>108791988
>https://github.com/nick-s-b/4chan-xt
I'm sticking with this guy
>>
File: file.png (725 KB, 1637x841)
725 KB PNG
is this why i got no download button on the catalog?
i remember there was a catalog download button on thread images, but i reinstalled my OS and suddenly shit's missing lol
>>
File: 4chanx.png (37 KB, 515x491)
37 KB PNG
>>108792003
>Webm files can't be closed
press 'contract' button
> can't see their filenames
find the picrel fragment of the code and change the line 8195 to what's on picrel (I don't know what the original line was)



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.