[Vimperator] saveas

calmar mac at calmar.ws
Mon Jul 9 15:26:47 PDT 2007


Hi,

with that line-change, the :saveas works (here):

chrome/content/vimperator/commands.js
@@ -652,7 +652,7 @@
         }
     ));
     addDefaultCommand(new Command(["sav[eas]"],
-        function() { goDoCommand('Browser:SavePage'); },
+        function() {saveDocument(window.content.document);},
         {
             usage: ["sav[eas]"],
             short_help: "Save current web page to disk",


I got that 'saveDocument(windows.content.document);' command from the keyconfig-extension.

Cheers
marco


-- 
   (o_  It rocks: LINUX + Command-Line-Interface
   //\
   V_/_                     http://www.calmar.ws


More information about the Vimperator mailing list