Sv443 0a164bacdd ref: function for setting global css vars & rename them 9 months ago
..
components 2f046f714e ref: siteevents emit function 6 months ago
dev c332b3ccba docs: dev 6 months ago
dialogs 2f046f714e ref: siteevents emit function 6 months ago
features 0a164bacdd ref: function for setting global css vars & rename them 6 months ago
menu 2f046f714e ref: siteevents emit function 6 months ago
stories 1a9710c883 ref: migrate to eslint v9 6 months ago
tools b550e01eae ref!: remove downloadURL and updateURL directives 6 months ago
utils 0a164bacdd ref: function for setting global css vars & rename them 6 months ago
README.md 12a1768711 docs: add and edit a bunch of subdir readmes 6 months ago
config.ts b70a366cdc ref: archive unfinished feature 6 months ago
constants.ts 52e8f88d6e fix: restore video time edge cases 6 months ago
declarations.d.ts 520689c104 Release 1.1.0 (#35) 1 year ago
index.ts 0a164bacdd ref: function for setting global css vars & rename them 6 months ago
interface.ts bbfbbaf16b ref: plugin stuff 6 months ago
observers.ts a56c9604b1 fix: made defaultConfig no longer include the value-less options 6 months ago
siteEvents.ts 2f046f714e ref: siteevents emit function 6 months ago
types.ts 98a932923e docs: registration example & getFeatures fix 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