Fix #5865 - fix channelnewsasia
authorAlan Knowles <alan@roojs.com>
Wed, 24 Apr 2019 09:32:26 +0000 (17:32 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 24 Apr 2019 09:32:26 +0000 (17:32 +0800)
domains/channelnewsasia.com.js [new file with mode: 0644]

diff --git a/domains/channelnewsasia.com.js b/domains/channelnewsasia.com.js
new file mode 100644 (file)
index 0000000..844743c
--- /dev/null
@@ -0,0 +1,22 @@
+(function (args) {
+    window.setInterval(function() {
+        try {
+            document.getElementsByClassName('endless-scroll-container')[0].style.display= 'none';
+        } catch(e) {}
+        var ar= document.getElementsByTagName('div');
+        for(var i=0;i<ar.length;i++) {
+            var  e = ar[i];
+            if ( e.style.zIndex > 10000) {
+                e.style.display = "none";
+            }
+        }
+        ar= document.getElementsByTagName('aside');
+        for(var i=0;i<ar.length;i++) {
+            
+            ar[i].style.display = "none";
+            
+        }
+        
+    },500);
+    
+})();