(function (args) {
-
- var ar,i;
-
- ar = document.getElementsByTagName('style');
- for(i=0;i<ar.length;i++) {
- 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');
- }
- 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');
- }
- for (var ss = 0; ss < document.styleSheets.length; ss++) {
- var ar = document.styleSheets[ss].rules;
-
- for(i=0; i < ar.length ; i >0; i--){
- if(ar[i].cssText.indexOf("@media") !=-1 ) {
- console.log(ar[i].cssText);
- }
- }
- }
-
-
+ 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