Fix #5850 - support for cityplusfm - advert removal
authorAlan Knowles <alan@roojs.com>
Thu, 11 Apr 2019 07:19:06 +0000 (15:19 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 11 Apr 2019 07:19:06 +0000 (15:19 +0800)
domains/cityplusfm.my.js [new file with mode: 0644]

diff --git a/domains/cityplusfm.my.js b/domains/cityplusfm.my.js
new file mode 100644 (file)
index 0000000..3c2f3dd
--- /dev/null
@@ -0,0 +1,8 @@
+
+(function (args) {
+     
+    try { document.getElementById('sgpb-popup-dialog-main-div-wrapper').style.display = 'none'; }catch(e){}
+    
+    try { document.getElementsByClassName('sgpb-popup-overlay')[0].style.display='none'; }catch(e){}
+    
+})(); 
\ No newline at end of file