[Vimperator] Missing flag for liberator.NEW_BACKGROUND_TAB?

Daniel Schaffrath daniel.schaffrath at mac.com
Thu Jul 3 09:26:39 PDT 2008


I changed the char-hints.js plugin to follow links in background tabs  
by default. I feel that's very much of use when skimming over search  
results. It seems that for followLink to properly open a tab in the  
background, the following is needed:

diff -r db8e36f9f9d4 src/content/buffer.js
--- a/src/content/buffer.js     Mon Jun 30 07:49:52 2008 +0200
+++ b/src/content/buffer.js     Thu Jul 03 18:07:48 2008 +0200
@@ -646,6 +646,7 @@
                  case liberator.NEW_TAB:
                  case liberator.NEW_BACKGROUND_TAB:
                      newTab = true;
+                   newWindow = (where == liberator.NEW_BACKGROUND_TAB);
                      break;
                  case liberator.NEW_WINDOW:
                      newWindow = true;



More information about the Vimperator mailing list