var print = document.querySelectorAll('[type="text/css"][media*="print"]');
var screen = document.querySelectorAll('[type="text/css"][media*="screen"]');

if (print.length === 0) {
    for (var i = 0, l = screen.length; i < l; i++) {
        screen[i].removeAttribute("media");
    }
}
@@ -29,38 +29,39 @@
 lectorAll('%5B
-type=%22text/css
+rel=%22stylesheet
 %22%5D%5Bmedia*=%22p
@@ -115,22 +115,23 @@
 l('%5B
-type=%22text/css
+rel=%22stylesheet
 %22%5D%5Bm

Fix minor bug in `screen` media hack (#43)