BrowserView.js
authorAlan Knowles <alan@roojs.com>
Wed, 3 Jun 2015 04:56:32 +0000 (12:56 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 3 Jun 2015 04:56:32 +0000 (12:56 +0800)
BrowserView.js

index 3911149..0dae057 100644 (file)
@@ -308,6 +308,14 @@ BrowserView = new GType({
                 );
                               
             }
+             if (current_url.match(/\.theindependant\.sg\//) ) {
+                TabbedBrowser.browser.current_tab().get_web_view().execute_script(
+                    File.read( __script_path__ + "/domains/theindependant.sg.js")
+                );
+                              
+            }
+            
+            
             // motorme - requires a scroll to make content appear..
             if (current_url.match(/\.motorme\.my\//) ) {
                 TabbedBrowser.browser.current_tab().get_web_view().execute_script("window.scrollTo(0,500);");