diff options
| author | Daniel MacDougall | 2012-04-04 18:23:43 -0700 |
|---|---|---|
| committer | Daniel MacDougall | 2012-04-04 18:27:54 -0700 |
| commit | 97127e056a27f8c397e97e7948a66d525e1c6a24 (patch) | |
| tree | ebbbe97fd7b8254892daa980edafe517c8761d9b | |
| parent | 0e573d8dabb3fe7c176473b98e5ba6905a6b14af (diff) | |
| download | vimium-97127e056a27f8c397e97e7948a66d525e1c6a24.tar.bz2 | |
Document 'disableVimium` function
| -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); |
