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

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