BrowserView.js
authorAlan Knowles <alan@roojs.com>
Mon, 18 May 2015 07:02:08 +0000 (15:02 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 18 May 2015 07:02:08 +0000 (15:02 +0800)
BrowserView.js

index 443ed6e..efbc2ff 100644 (file)
@@ -313,7 +313,10 @@ BrowserView = new GType({
                 TabbedBrowser.browser.current_tab().get_web_view().execute_script("window.scrollTo(0,500);"); 
                               
             }
-            
+            if (current_url.match(/\.efytimes\.com\//) ) {
+                TabbedBrowser.browser.current_tab().get_web_view().execute_script("try {document.getElementById('CoverPop-cover').style.display = 'none'; } catch(e) {}"); 
+                              
+            }
             
            
             print("Delay:" + BrowserSettings.delay);