1
0
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