projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e62bc0b
)
BrowserView.js
author
Alan Knowles
<alan@roojs.com>
Wed, 3 Jun 2015 04:56:32 +0000
(12:56 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 3 Jun 2015 04:56:32 +0000
(12:56 +0800)
BrowserView.js
patch
|
blob
|
history
diff --git
a/BrowserView.js
b/BrowserView.js
index
3911149
..
0dae057
100644
(file)
--- a/
BrowserView.js
+++ b/
BrowserView.js
@@
-308,6
+308,14
@@
BrowserView = new GType({
);
}
+ if (current_url.match(/\.theindependant\.sg\//) ) {
+ TabbedBrowser.browser.current_tab().get_web_view().execute_script(
+ File.read( __script_path__ + "/domains/theindependant.sg.js")
+ );
+
+ }
+
+
// motorme - requires a scroll to make content appear..
if (current_url.match(/\.motorme\.my\//) ) {
TabbedBrowser.browser.current_tab().get_web_view().execute_script("window.scrollTo(0,500);");