Skip to content

For Module Authors

dxcufgb edited this page Oct 30, 2026 · 1 revision

For module authors

This module has no API and calls no hooks of its own. The patches replace these methods directly (no libWrapper) and hand everything they don't fix on to the original, so another module that replaces the same method can conflict with them:

Patch Changes
PopOut!: copy text game.keyboard._processKeyboardContext (skips keybindings only for Ctrl/Cmd+C, Ctrl/Cmd+X and Ctrl/Cmd+Insert with text selected in a popped-out window)
PopOut!: roll dialogs in the window you clicked PopoutModule.prototype.handleChildDialog (returns false for roll and usage dialogs when the main window was clicked last)
PopOut!: context menus in the window you right-clicked foundry.applications.ux.ContextMenu.prototype._setFixedPosition
Monk's TokenBar: remember position setPosition and maximize on the token bar window (#tokenbar) only; listens to renderTokenBar and renderResetPosition
Monk's TokenBar: fade and screen edges Inline layout styles on the token bar window; listens to renderTokenBar
Move a token with the ruler A keydown listener (capture phase) that handles Space while the ruler is measuring from one of your tokens

Clone this wiki locally