Fix #6068 - yahoo uk issue
authorAlan Knowles <alan@roojs.com>
Thu, 17 Oct 2019 05:33:54 +0000 (13:33 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 17 Oct 2019 05:33:54 +0000 (13:33 +0800)
domains/uk.news.yahoo.com.js [new file with mode: 0644]

diff --git a/domains/uk.news.yahoo.com.js b/domains/uk.news.yahoo.com.js
new file mode 100644 (file)
index 0000000..0262108
--- /dev/null
@@ -0,0 +1,7 @@
+(function (args) {
+  
+    if (document.location.host.match(/consent/) && document.getElementsByClassName('btn').length > 0) {
+        document.getElementsByClassName('btn').item(1).click()
+    } 
+    
+})(); 
\ No newline at end of file