Sv443 dd0eebbafe feat: open auto like dialog when clicking "liked vid/song" toast 7 months ago
..
components eeb145ec87 ref: toast cursor 6 months ago
dev 31c38e07e2 docs: integrations section in the readmes 6 months ago
dialogs 4e4f4eb89f ref: rename setInnerHtmlTrusted to setInnerHTML 6 months ago
features dd0eebbafe feat: open auto like dialog when clicking "liked vid/song" toast 6 months ago
menu 4e4f4eb89f ref: rename setInnerHtmlTrusted to setInnerHTML 6 months ago
stories efa3af029d feat: toggle auto-like btn on chan. page if toggled in dialog 6 months ago
tools 03f6e6c2b8 fix: EOL newline in tr-format cmd 6 months ago
utils a3ab32f8a0 fix: trusted types policy 6 months ago
README.md 12a1768711 docs: add and edit a bunch of subdir readmes 6 months ago
config.ts c73c18dac7 feat: toast improvements 6 months ago
constants.ts e03b1cb717 ref: remove tslib & small refactors 6 months ago
declarations.d.ts 520689c104 Release 1.1.0 (#35) 1 year ago
index.ts 4e4f4eb89f ref: rename setInnerHtmlTrusted to setInnerHTML 6 months ago
interface.ts dfc1443734 feat: expose getCurrentMediaType() on interface 6 months ago
observers.ts d325e9926d fix: race conditions 6 months ago
siteEvents.ts 9adcac8c11 ref: update userutils 6 months ago
storeSerializer.ts 27c9e01a69 ref: rename cfg data store instance 6 months ago
types.ts a3ab32f8a0 fix: trusted types policy 6 months ago

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