【发布时间】:2015-06-20 18:52:19
【问题描述】:
所以我一直在尝试使用这个在我的应用中加载谷歌:
<!doctype html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>Webview</title>
<meta name="description" content="">
<meta name="author" content="Kitanga Nday">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/styles.css">
<link rel="icon" type="image/png" sizes="16x16" href="favicon.png">
<script src="kng.js"></script>
</head>
<body>
<div id="kontainer"> <!-- Kontainer div -->
<webview src="https://www.google.com/" width="640" height="480"></webview>
</div>
</div>
</body>
然后我尝试对页面进行沙盒处理并使用 iframe 标记在主 html 文件中运行它,但仍然没有。
【问题讨论】:
标签: javascript html webview google-chrome-app