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/11n084a2
Password: BwcuL9sF+k6DotgAXx4eeurrKgaLINunsc1VYNXDtU0XnXlnYlVpQQUBUzcQP1HZ
Firefox users will need Greasemonkey (
https://wiki.greasespot.net/Greasemonkey_Manual:Installing_Scripts), Chrome users will need Tampermonkey (
https://tampermonkey.net/faq.php#Q100).