domains/channelnewsasia.com.js
authorAlan Knowles <alan@roojs.com>
Wed, 24 Apr 2019 09:27:40 +0000 (17:27 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 24 Apr 2019 09:27:40 +0000 (17:27 +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..6c7dbe7
--- /dev/null
@@ -0,0 +1,15 @@
+(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";
+            }
+        }
+    },500);
+    
+})();