Skip to content

Commit

Permalink
Nasty kindle style hack
Browse files Browse the repository at this point in the history
  • Loading branch information
james committed Sep 12, 2011
1 parent 107ada5 commit 2bdd472
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/stop.erb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
color:#333;
}
</style>
<script type="text/javascript" charset="utf-8">
if(navigator.userAgent.match("Kindle")) {
document.write('<style type="text/css">body {color:#FFF}</style>')
}
</script>
<script src="/jquery.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
function poll() {
Expand Down

0 comments on commit 2bdd472

Please sign in to comment.