diff options
author | Chris Lamb <lamby@debian.org> | 2009-10-11 23:44:44 +0800 |
---|---|---|
committer | Xan Lopez <xan@gnome.org> | 2009-10-19 00:25:17 +0800 |
commit | 437e08e9303dfe186d14b1cd3b2e9226c61feb4e (patch) | |
tree | 5952ad4401374da504d5fa2e952a0c3b370cc8c8 /embed/ephy-embed-utils.c | |
parent | 81b8ace84e3485765491a26ccbfa033d577a13b9 (diff) | |
download | gsoc2013-epiphany-437e08e9303dfe186d14b1cd3b2e9226c61feb4e.tar gsoc2013-epiphany-437e08e9303dfe186d14b1cd3b2e9226c61feb4e.tar.gz gsoc2013-epiphany-437e08e9303dfe186d14b1cd3b2e9226c61feb4e.tar.bz2 gsoc2013-epiphany-437e08e9303dfe186d14b1cd3b2e9226c61feb4e.tar.lz gsoc2013-epiphany-437e08e9303dfe186d14b1cd3b2e9226c61feb4e.tar.xz gsoc2013-epiphany-437e08e9303dfe186d14b1cd3b2e9226c61feb4e.tar.zst gsoc2013-epiphany-437e08e9303dfe186d14b1cd3b2e9226c61feb4e.zip |
Execute "javascript:" URIs instead of browsing for them.
Signed-off-by: Xan Lopez <xan@gnome.org>
Diffstat (limited to 'embed/ephy-embed-utils.c')
-rw-r--r-- | embed/ephy-embed-utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/ephy-embed-utils.c b/embed/ephy-embed-utils.c index 0405de744..d937d2e4b 100644 --- a/embed/ephy-embed-utils.c +++ b/embed/ephy-embed-utils.c @@ -91,6 +91,7 @@ ephy_embed_utils_address_has_web_scheme (const char *address) g_str_has_prefix (address, "file:") || g_str_has_prefix (address, "data:") || g_str_has_prefix (address, "about:") || + g_str_has_prefix (address, "javascript:") || g_str_has_prefix (address, "gopher:")); return has_web_scheme; |