Enhanced 8chan UI

Creates a media gallery with blur toggle and live thread info (Posts, Users, Files) plus additional enhancements

נכון ליום 20-04-2025. ראה הגרסה האחרונה.

יוצר
ガキぺろぺろ
דירוגים
0 0 0
גרסה
2.0.2
נוצר
19-04-2025
עודכן
20-04-2025
Size
36.2 קילו-בייט
רישיון
MIT
חל על

Main Features

1. Media Gallery System

  • Collection: Scans posts for images, videos, and audio files
  • Thumbnail Grid: Displays media in a responsive grid layout
  • Lightbox Viewer: Full-screen media viewer with navigation controls
  • Media Types: Supports images, videos (MP4, WebM, MOV), and audio (MP3, WAV, OGG)

2. Blur Toggle ("Goon Mode")

  • Toggle button that blurs all media in posts
  • Visual indicator changes between eggplant (blurred) and briefcase (unblurred)
  • Applies CSS filter to all media elements

3. Thread Statistics Display

  • Shows live counts of:
    • Posts
    • Active users
    • Files/media
  • Updates every 5 seconds
  • Positioned in bottom-right corner

4. Enhanced Quick Reply

  • Centered modal reply form
  • Overlay background
  • Keyboard shortcut (Alt+Z)
  • Auto-focus on text area
  • Form clearing on close

5. UI Improvements

  • Cleaned up footer and navigation elements
  • Improved header styling
  • Enhanced thread watcher display
  • Better quote tooltips

6. Additional Features

  • Scroll Position Memory: Remembers scroll position across page visits
  • Image Hover Fix: Improves behavior of hover-previewed images
  • Catalog Links: Automatically appends /catalog.html to board links

Keyboard Shortcuts

Action Default Keybind Description
Toggle Reply Window Alt + Z Opens/closes the quick-reply form
Close All Modals Escape Closes gallery, lightbox, and reply windows
Previous Media (Lightbox) Left Arrow Navigate to previous media in lightbox
Next Media (Lightbox) Right Arrow Navigate to next media in lightbox
Cycle Quick-Reply Fields Tab Focus between name/subject/body fields

Text Formatting Shortcuts (when reply box is focused)

Formatting Style Default Keybind Wraps selected text with tags
Spoiler Ctrl + S [spoiler]text[/spoiler]
Bold Ctrl + B '''bold text'''
Italic Ctrl + I ''italic text''
Underline Ctrl + U __underlined text__
Doom Format Ctrl + D [doom]doom text[/doom]
Moe Format Ctrl + M [moe]moe text[/moe]

Note: These shortcuts only work when the reply textarea (#qrbody) is focused

License

This script is provided as-is without warranty. Users may modify and distribute freely.