Skip to content

Instantly share code, notes, and snippets.

nealpoole / index.html
Last active February 22, 2017 21:49
Simple example code for displaying an Issuu widget with a thumbnail preview. Degrades gracefully if JS is not enabled.
<div id="issuu-widget">
<script type="text/javascript" src="/wp-includes/js/swfobject.js"></script>
<script type="text/javascript">
function loadIssuuWidget(result) {
var doc =[0];
var link = jQuery('<a />').attr({
href: '' + doc.docname,
$var = '1</iframe>"><script>alert(document.cookie)</script>';
if ((int)$var)