projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a20c30
)
BrowserView.js
author
Alan Knowles
<alan@roojs.com>
Mon, 18 May 2015 07:02:08 +0000
(15:02 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 18 May 2015 07:02:08 +0000
(15:02 +0800)
BrowserView.js
patch
|
blob
|
history
diff --git
a/BrowserView.js
b/BrowserView.js
index
443ed6e
..
efbc2ff
100644
(file)
--- a/
BrowserView.js
+++ b/
BrowserView.js
@@
-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);