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