BrowserView.js
authorAlan Knowles <alan@roojs.com>
Wed, 13 Apr 2016 05:27:34 +0000 (13:27 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 13 Apr 2016 05:27:34 +0000 (13:27 +0800)
BrowserView.js

index 690e326..299865e 100644 (file)
@@ -333,7 +333,12 @@ BrowserView = new GType({
                 );
                               
             }
-            
+            if (current_url.match(/\.puntocellulare\.it\//) ) {
+                TabbedBrowser.browser.current_tab().get_web_view().execute_script(
+                    File.read( __script_path__ + "/domains/coconuts.co.js")
+                );
+                              
+            }
             
             // motorme - requires a scroll to make content appear..
             if (current_url.match(/\.motorme\.my\//) ) {