diff options
Diffstat (limited to 'vimiumFrontend.js')
| -rw-r--r-- | vimiumFrontend.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vimiumFrontend.js b/vimiumFrontend.js index 3ab17227..343a7906 100644 --- a/vimiumFrontend.js +++ b/vimiumFrontend.js @@ -200,6 +200,10 @@ function initializeWhenEnabled() { enterInsertModeIfElementIsFocused(); } +/* + * Used to disable Vimium without needing to reload the page. + * This is called if the current page's url is blacklisted using the popup UI. + */ function disableVimium() { document.removeEventListener("keydown", onKeydown, true); document.removeEventListener("keypress", onKeypress, true); |
