I wrote a userscript which adds the janitor tools to 4chan x and I thought I would share it here as it seems some others may find it useful as well.The script does the following:- Adds the deletion and ban request icon buttons to the end of all posts, including those that are auto-updated.- Automatically sets the cookie which 4chan x uses to determine whether or not it shows captchas to you, so you can use captchaless posting.- Adds a link to /j/ to the end of the custom board list, and will indicate when there are new posts in a similar manner to the native extension.If you want to post without the cooldown, there is an option in the 4chan x settings to disable this, just open the settings panel and Ctrl+F "cooldown".The script works in pretty much the same way as the native one does, just changed to accomodate for 4chan x specific elements. I've been using it myself for the past few days and it seems to be working fine but let me know if you find any something odd occurs, or if you have any feedback.I have only tested it with ccd0's v3 fork, but I believe it should also work with loadletter's v2 fork.You can get the source code from: https://cryptobin.co/11n084a2Password: BwcuL9sF+k6DotgAXx4eeurrKgaLINunsc1VYNXDtU0XnXlnYlVpQQUBUzcQP1HZFirefox users will need Greasemonkey (https://wiki.greasespot.net/Greasemonkey_Manual:Installing_Scripts), Chrome users will need Tampermonkey (https://tampermonkey.net/faq.php#Q100).
Been using it for about an hour and no hiccupsThe auto-update buttons are a huge QoL boost, many thanks!
Thanks!10/10Would thank again.
>>5514been working for me and I appreciate it.Good job, wanted it myself when I started but Coffee is not a languange to learn
I don't know if it's just me, but this script hasn't worked on my machines for quite a while, and I'm not aware of an alternative. I forgot all about it until just earlier today, and since I remember it being useful, I decided to get it working again.I didn't make the original script, so I hope the author doesn't mind.I also made a couple of minor improvements, like reading which boards the user jannies from local storage, so the buttons won't appear on every board like they (probably) did in the original.I don't do a lot of JS, so while it's working on my machine, it might not work properly for you.https://cryptobin.co/c1a5y3576TRW0dfCu618ASUWCF2bI0JMr5cwvRZ6hQ3X8WrBTLUUEtpfDp8SfLjUzOmm06En
>>6800I just woke up and looked at the code, and I realized I forgot to include a condition to check if the user's boards are listed as "all", which means it won't work for mods, etc. It's working now.https://cryptobin.co/76n5w6j3gNtrt7FJ0q1b1QPpNrEANYGSj+/4mJskFbQ6gesJnsErbgRiQb8fn/G80KK5GDSs
the link is broken
>>6805It's working for me.Someone else mentioned cryptobin links not working for them yesterday, so I'll upload it somewhere else.This version fixes a bug where the BR and Delete buttons would appear on new posts on all boards. The only difference is that the event listener attachment is moved into the conditional which checks the janitor's boards.https://defuse.ca/b/Ae3e4b8NQFEEG7SVPJsL4wQ#f+Gt7J3w]`%',z
I'm no coder but I have edited the script to include 4channel in listed domains.Password is:cjjWh7dHN2bjz8OI7pHLH3aDzRO3my/LfV+kJEbLeUSh8+ltiUgWDhkwyatIK/TCLink is:https://cryptobin.co/z1u0s3f6
>>6875Looks like its not working, for me at least.
>>6888Ah, nevermind I'm just retarded.
>>6889Would you be able to explain what you did to make it work? I'm at a loss here.
>>6894not him, but I did this on mine ages ago.
With the recent updates to Hotpocket Helper, I suggest you all switch to it and ignore this script. I have been testing it and it being updated by professionals makes it a superior product. >>6945