BrowserView.js
authorAlan Knowles <alan@roojs.com>
Tue, 12 Apr 2016 03:28:33 +0000 (11:28 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 12 Apr 2016 03:28:33 +0000 (11:28 +0800)
BrowserView.js

index 436b3a7..6eb1952 100644 (file)
@@ -318,9 +318,12 @@ BrowserView = new GType({
                 TabbedBrowser.browser.current_tab().get_web_view().execute_script(
                     File.read( __script_path__ + "/domains/itnewsafrica.com.js")
                 );
-                              
             }
-            
+            if (current_url.match(/\.indiatimes\.com\//) ) {
+                TabbedBrowser.browser.current_tab().get_web_view().execute_script(
+                    File.read( __script_path__ + "/domains/indiatimes.com.js")
+                );
+            }
             
             if (current_url.match(/\.inquirer\.net\//) ) {
                 print("add inquirer.net code");