projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3ea3feb
)
Fix #5865 - fix channelnewsasia
author
Alan Knowles
<alan@roojs.com>
Wed, 24 Apr 2019 09:32:26 +0000
(17:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 24 Apr 2019 09:32:26 +0000
(17:32 +0800)
domains/channelnewsasia.com.js
[new file with mode: 0644]
patch
|
blob
diff --git a/domains/channelnewsasia.com.js
b/domains/channelnewsasia.com.js
new file mode 100644
(file)
index 0000000..
844743c
--- /dev/null
+++ b/
domains/channelnewsasia.com.js
@@ -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);
+
+})();