是否可以在 Webkit HTML 桌面通知中使用表单元素?我试图从 Chrome 扩展程序打开 HTML 通知,并且<input>
我添加的内容出现了,但我无法输入。我希望能够从中捕获输入并保存。
var notification = webkitNotifications.createHTMLNotification(chrome.extension.getURL('input-prompt.html'));
notification.show();
<html>
<body>
<form><input type="text" name="here" value="test" /></form>
</body>
</html>