BrowserView.js
authorAlan Knowles <alan@roojs.com>
Thu, 14 Apr 2016 05:49:50 +0000 (13:49 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 14 Apr 2016 05:49:50 +0000 (13:49 +0800)
BrowserView.js

index ac1a331..07b8675 100644 (file)
@@ -282,6 +282,9 @@ BrowserView = new GType({
                     File.read( __script_path__ + "/domains/remove_print_css.js")
             );
             
+            var url_p = current_url.split('/');
+            print(JSON.stringify(url_p));
+            
             if (current_url.match(/\.coconuts\.co\//) ) {
                 TabbedBrowser.browser.current_tab().get_web_view().execute_script(
                     File.read( __script_path__ + "/domains/coconuts.co.js")