/js-dialog

Quick GUI Prompt to enter and eval JavaScript

Primary LanguageShellGNU General Public License v3.0GPL-3.0

JS-Dialog

A bash script to get JavaScript code input in a GUI prompt and then display the console output. It's built to use with a global keyboard shortcut for a fast JS eval.

Requirements

Usage

Make executable:

chmod +x js-dialog.sh

CLI:

./js-dialog.sh

Keyboard shortcuts:

  • Type your code and press Ctrl + Enter to run.
  • Press Enter or Ctrl + Enter to close the output window.