Skip to content
/ 4chanZ Public

A browser-extension for 4chan, adding features to "improve" the experience.

License

Notifications You must be signed in to change notification settings

LalleSX/4chanZ

Repository files navigation

4chan Z

4chan Z is a 4chan extension that adds a variety of features to the site.

The React code is currently not showing up when you build it, but it shows up in the vite dev

Features

Note: This is a work in progress. If a feature is checked off, it means it is implemented but not necessarily working as intended.

  • Image hover. Not on catalog yet
  • Catalog improvements:
  • Catalog loads with JSON instead of HTML
  • Catalog gifs play on the catalog. This makes the catalog feel more alive
  • Added Header
  • Settings menu. (Needs to be optimized)

Planned Features

  • Optiimize for all themes. Right now it only looks good on Yotsuba B
  • Image hover on catalog
  • Filter threads/posts
  • Have remote filters
  • Thread watcher
  • Quick reply
  • Gallery mode
  • Preformace improvements
  • Better settings menu
  • Better config system
  • Embed link
  • Better catalog, sort by bump, etc

Javascript Libraries

Project Setup

pnpm install

Commands

Build

Development, HMR

Hot Module Reloading is used to load changes inline without requiring extension rebuilds and extension/page reloads Currently only works in Chromium based browsers.

npm run dev

Development, Watch

Rebuilds extension on file changes. Requires a reload of the extension (and page reload if using content scripts)

npm run watch

Production

Minifies and optimizes extension build

npm run build

Load extension in browser

Loads the contents of the dist directory into the specified browser

npm run serve:chrome
npm run serve:firefox