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

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