(function (args) {
- try {
- var ar = document.getElementsByTagName('style');
- for(var 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('all');
- }
- var ar = document.getElementsByTagName('link');
- for(var i=0;i<ar.length;i++) {
- if (ar[i].getAttribute('rel') != 'stylesheet') {
- continue;
- }
- var m = ar[i].getAttribute('media');
- if (m.match(/print/)) {
- ar[i].setAttribute('media','speech'); // hacky
- continue;
- }
- ar[i].setAttribute('all');
- }
-
-
- } catch(ex) {}
-
-
+ 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