Skip to content

Commit

Permalink
Better demo
Browse files Browse the repository at this point in the history
  • Loading branch information
kaihendry committed Feb 21, 2014
1 parent 419dd41 commit 7b4432a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Binary file added attract-demo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions index.html
Expand Up @@ -9,10 +9,9 @@
<h1>Hello World!</h1>

<p>Designed for Webconverger and Firefox.</p>
<pre>
pref("full-screen-api.allow-trusted-requests-only", false);
pref("full-screen-api.approval-required", false);
</pre>

<img src=attract-demo.png>

<p><a href=https://github.com/Webconverger/Screensaver>Source code</a></p>
</body>
</html>
4 changes: 4 additions & 0 deletions webconverger_security_policy/prefs.js
@@ -0,0 +1,4 @@
Components.utils.import("resource://gre/modules/Services.jsm");
Components.utils.import("resource://gre/modules/NetUtil.jsm");
Services.perms.add(NetUtil.newURI("http://attract.webconverger.com/"), "fullscreen", 1);
pref("full-screen-api.allow-trusted-requests-only", false);

0 comments on commit 7b4432a

Please sign in to comment.