BrowserToolbar.js
authorAlan Knowles <alan@roojs.com>
Thu, 12 Jul 2012 05:17:52 +0000 (13:17 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 12 Jul 2012 05:17:52 +0000 (13:17 +0800)
BrowserToolbar.js

index e0a84eb..10c6eaf 100644 (file)
@@ -63,6 +63,17 @@ BrowserToolbar = new GType({
     
            // print('test');
        };
+        var grab = function(){
+            print("seding ns gather links (Start)");
+            TabbedBrowser.browser.current_tab().get_web_view().add_nsinject();
+            TabbedBrowser.browser.current_tab().get_web_view().execute_script(
+                "NS.gatherlinks();"
+            );
+    
+           // print('test');
+       };
+        
+        
         
          
         // Public