This fork of the canonical 4chan JS repository tracks the production version of 4chan-JS as deployed on 4chan.org, auto-updated by a simple script + cron as Moot and "Anonymous ## Developer" are unwilling or unmotivated to keep the real repository up to date. The purpose of this repository is to provide the missing changelog of bugfixes, new features, and potential breaking API changes that other 4chan extension/userscript developers will care about.
core.js
and catalog.js
are also tracked in addition to extension itself.
The cron job for update.sh
is run every 15 minutes. The automatic commits it
makes are dated with the value of the Last-Modified
HTTP header, as returned
from 4chan/cloudflare. I get an alert if the cron job doesn't run, so this
repo should be at most 15 minutes out of date at any given time.
8 years ago, our very own DamageInc created the first 4chan extension as a Firefox add-on. Now, we've implemented these features directly into the site, open sourced it, and invite the community to contribute code and feedback.
In addition, we offer a read-only JSON API that you can read more about here.
Bugs and feature requests should be submitted to the repo's Issues page.
This code is released under a 3-clause BSD license, available here.
Many thanks to desuwa of The Yotsuba Catalog for being a total badass, and almost single-handedly bringing this project to fruition.
Thanks also to DamageInc for creating the original 4chan browser add-on, and to aeosynth (creator) and MayhemYDG (maintainer) of 4chan X, for providing inspiration.