I followed the Google Chrome Extensions Developer's Guide and so far was able to create the extension using a browser action without a popup that triggers an HTML web kit notification.
The fact is that this HTML file contains action buttons, links, and javascript, but none of them seem to respond.
Is this behavioral behavior, or is there a way to embed javascript / links / buttons in these webkit notifications?
EDIT:
Here are some new ideas on the topic:
Javascript
Here is the HTML notification page that does not work:
<html> <head> <script> alert("hey"); </script> </head> <body> content </body> </html>
As a result, the notification is all empty; the text "content" is not displayed.
But if I remove the "warning", the text "content" will appear.
At first I thought that Javascript was blocking the page display correctly, but I tried something else:
<script>document.write("content");</script>
This javascript command is correctly executed and displays the text "content". We can then assume that Javascript is enabled even in webkit desktop notifications, but the alert function is disabled and breaks the visualization of the notification page.
References
Some links work, some do not. Here is a short list of the ones I have tested so far:
<a href="http://www.google.com/">Link</a> # => Doesn't work <a href="http://www.google.com/" target="_top">Link</a> # => Doesn't work <a href="http://www.google.com/" target="_parent">Link</a> # => Doesn't work <a href="http://www.google.com/" target="_blank">Link</a> # => Works (new tab)