Skip to content

feat: Devtools keybinds, config.enableDevtoolsUntilTimestamp + bypass flag#201

Open
Taureon wants to merge 1 commit intostoatchat:mainfrom
Taureon:devtools-config
Open

feat: Devtools keybinds, config.enableDevtoolsUntilTimestamp + bypass flag#201
Taureon wants to merge 1 commit intostoatchat:mainfrom
Taureon:devtools-config

Conversation

@Taureon
Copy link
Copy Markdown
Contributor

@Taureon Taureon commented Apr 4, 2026

This PR adds the Ctrl + Shift + I and F12 keybinds that conditionally open devtools.

"Conditionally", because there is config.enableDevtoolsUntilTimestamp.

If Date.now() is higher than that timestamp, the keybinds will not work, unless you use the command line flag to bypass it, which lets you use the keybinds all the time.

The command line flag is --bypass-devtools-expiration-and-i-am-not-being-told-to-paste-scripts.
It is that so scammers don't use the flag to bypass any safety warnings from the settings menus, although there would still be the scammer telling you to screenshot the networking tab and I don't know if there is a limit for command line flags or if I can just make it something ridiculous like
--bypass-devtools-expiration-and-i-am-not-being-told-to-paste-scripts-or-screenshot-the-networking-tab

Signed-off-by: Taureon <taureon@noreply.codeberg.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant