Sven 3b06e646dc fix: better ripple transparency 10 月之前
..
components 3b06e646dc fix: better ripple transparency 10 月之前
dev ddd0d259b2 ref: readmes 10 月之前
dialogs c386d66069 ref: random stuff 10 月之前
features d9fac783f3 fix: don't prevent default in lyrics btn interactions 10 月之前
menu c386d66069 ref: random stuff 10 月之前
stories ba39ad94fd ref: migrate to eslint v9 10 月之前
tools 6564f03965 ref!: remove downloadURL and updateURL directives 10 月之前
utils 7f95e9723e feat: expose `fetchVideoVotes` function on interface 10 月之前
README.md f983c46948 docs: add and edit a bunch of subdir readmes 10 月之前
config.ts 7fc9532a24 ref: archive unfinished feature 10 月之前
constants.ts 86d4d92bb1 fix: restore video time edge cases 10 月之前
declarations.d.ts 520689c104 Release 1.1.0 (#35) 1 年之前
index.ts ddd0d259b2 ref: readmes 10 月之前
interface.ts 95463c93c3 ref: plugin interface types and contrib guide 10 月之前
observers.ts 46f7199a53 fix: made defaultConfig no longer include the value-less options 10 月之前
siteEvents.ts 3aac64fb93 fix: trigger URL-based siteEvents sooner 10 月之前
types.ts 95463c93c3 ref: plugin interface types and contrib guide 10 月之前

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