Sv443 1bd54a621d feat: open auto like dialog when clicking "liked vid/song" toast vor 7 Monaten
..
components a116d98b60 ref: toast cursor vor 8 Monaten
dev 2f0b412369 docs: integrations section in the readmes vor 8 Monaten
dialogs d9f491b926 ref: rename setInnerHtmlTrusted to setInnerHTML vor 8 Monaten
features 1bd54a621d feat: open auto like dialog when clicking "liked vid/song" toast vor 7 Monaten
menu d9f491b926 ref: rename setInnerHtmlTrusted to setInnerHTML vor 8 Monaten
stories f5325c69ba feat: toggle auto-like btn on chan. page if toggled in dialog vor 8 Monaten
tools 270ce83459 fix: EOL newline in tr-format cmd vor 8 Monaten
utils 472f89590c fix: trusted types policy vor 7 Monaten
README.md f983c46948 docs: add and edit a bunch of subdir readmes vor 10 Monaten
config.ts 4fc7e20127 feat: toast improvements vor 8 Monaten
constants.ts eb22bde5ec ref: remove tslib & small refactors vor 8 Monaten
declarations.d.ts 520689c104 Release 1.1.0 (#35) vor 1 Jahr
index.ts d9f491b926 ref: rename setInnerHtmlTrusted to setInnerHTML vor 8 Monaten
interface.ts 71c38402a6 feat: expose getCurrentMediaType() on interface vor 8 Monaten
observers.ts c6a7870140 fix: race conditions vor 9 Monaten
siteEvents.ts ae68b5487d ref: update userutils vor 8 Monaten
storeSerializer.ts 151ba067cc ref: rename cfg data store instance vor 8 Monaten
types.ts 472f89590c fix: trusted types policy vor 7 Monaten

README.md

src/

This directory contains the entire runtime code for the userscript.


Subdirectories

  • components - Contains all of the UI components that are used throughout the userscript and plugins
  • dev - Contains random development files and notes that aren't included in the final build of the userscript
  • dialogs - Contains all BytmDialog instances that manage almost all of BetterYTM's dialogs
  • features - Contains the code for all the separate features themselves
  • menu - Contains the (somewhat legacy) config menu code
  • stories - Contains Storybook stories for developing UI components
  • tools - Contains helper tools for building and developing the userscript
  • utils - Contains helper utilities that are used in the userscript's code itself