Created
March 28, 2016 11:31
-
-
Save rdtsc/24cf8abc4fff32e69e47 to your computer and use it in GitHub Desktop.
NW.js PDF Reader Test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>NW.js PDF Test</title> | |
<style> | |
html, body, object { | |
margin: 0; | |
padding: 0; | |
width: 100%; | |
height: 100%; | |
position: fixed; | |
} | |
</style> | |
</head> | |
<body> | |
<!-- Base64-encoded version of the 138 byte variant from: https://stackoverflow.com/questions/17279712/what-is-the-smallest-possible-valid-pdf#answer-17280876 --> | |
<object type="application/pdf" data="data:application/pdf;base64,JVBERi0xLjANCjEgMCBvYmo8PC9QYWdlcyAyIDAgUj4+ZW5kb2JqIDIgMCBvYmo8PC9LaWRzWzMgMCBSXS9Db3VudCAxPj5lbmRvYmogMyAwIG9iajw8L01lZGlhQm94WzAgMCAzIDNdPj5lbmRvYmoNCnRyYWlsZXI8PC9Sb290IDEgMCBSPj4="></object> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "nwjs", | |
"main": "index.html" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment