Skip to content

Instantly share code, notes, and snippets.


David Mead daveygm

View GitHub Profile
View markdown2html
#!/usr/bin/env ruby
require "fileutils"
require "redcarpet"
<!DOCTYPE html>
daveygm / gist:4088949
Created Nov 16, 2012 — forked from astorm/gist:992233
Fix console.log in Chrome and Magento
View gist:4088949
<!-- Add to the package layout (via local.xml or however you prefer) -->
<!-- Also, best to remove before deployment, as some users report -->
<!-- it makes IE 7 crash -->
<reference name="content">
<block type="core/text" name="fix.console" as="fix.console">
<action method="setText">
<text><![CDATA[<script type="text/javascript">
iframe = document.createElement('iframe'); = 'none';