Uncommited changes synced
[app.webkitpdf] / domains / coconuts.co.js
index 673bf3b..9272d91 100644 (file)
@@ -1,35 +1,8 @@
 
 (function (args) {
-     
-        var ar,i;
-        
-        ar = document.getElementsByTagName('style');
-        for(i=0;i<ar.length;i++) {
-            var m = ar[i].getAttribute('media');
-            if (m.match(/print/)) {
-                ar[i].setAttribute('media', 'speech'); // hacky
-                continue;
-            }
-            ar[i].setAttribute('media','all'); 
-        }
-        ar = document.getElementsByTagName('link');
-        for(  i=0;i<ar.length;i++) {
-            if (ar[i].getAttribute('rel') != 'stylesheet') {
-                continue;
-            }
-            var m = ar[i].getAttribute('media');
-            if (!m) {
-                continue;
-            }
-            if (m.match(/print/)) {
-                ar[i].setAttribute('media','speech'); // hacky
-                continue;
-            }
-            ar[i].setAttribute('media','all'); 
-        }
-        
-                 
-   
-    
-    
+    document.getElementById('article_viewer').style.overflowY = '';
+    document.getElementById('article_viewer').style.position = 'initial';
+    document.body.className = '';
+    document.body.style.overflow = '';
+    document.body.style.height="auto";
 })(); 
\ No newline at end of file