Skip to content

Commit

Permalink
avoid quirks mode
Browse files Browse the repository at this point in the history
  • Loading branch information
evmar committed Nov 10, 2011
1 parent 00af27a commit 6e903a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extension/inject.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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>")
Expand Down

0 comments on commit 6e903a5

Please sign in to comment.