Permalink
Browse files

avoid quirks mode

  • Loading branch information...
1 parent 00af27a commit 6e903a5738956f54a8ef5b118333c4911ba5f135 @evmar committed Nov 10, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 extension/inject.coffee
View
@@ -9,6 +9,7 @@ hijack = ->
ponyExpress.hijacked = true
document.open()
+ document.write("<!DOCTYPE html>");
document.write("<script src='" + chrome.extension.getURL('ui.js') + "'></script>");
# Brain-bender: we want to write the 'ui' var from the above script.
document.write("<script>document.write(ui);</script>")

0 comments on commit 6e903a5

Please sign in to comment.