{"name":"Counter","key":"counter","version":"1.0.0","instructions":"This is a click counter","showatto":"1","showplayers":"0","requirecss":"","requirejs":"","shim":"","defaults":"width=460,height=250,initcount=10,usepresets=true|false,fontheight=64","amd":"1","body":"<iframe id='@@AUTOID@@' width='@@width@@' height='@@height@@' style='border: none'></iframe>\n","bodyend":"","script":"var params = '?initcount=' + @@initcount@@ + '&usepresets=' + @@usepresets@@ + '&fontheight=' + @@fontheight@@;\nvar widget = 'counter.lzx.js';\n\nvar iframeurl = M.cfg.wwwroot + '/filter/poodll/js/poodlliframe.php'; \nvar fullurl =iframeurl + \"?paramstring=\" +  encodeURIComponent(params);\nfullurl += \"&widget=\" + widget;\nfullurl += \"&width=\" + @@width@@;\nfullurl += \"&height=\" + @@height@@;\n\n$('#'+ @@AUTOID@@).attr('src', fullurl);\n\n","style":"","dataset":"","datasetvars":"","alternate":"","alternateend":""}