From 113183d978de4dcdd10620418bdbe23e88777e78 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 17 Oct 2019 13:33:54 +0800 Subject: [PATCH] Fix #6068 - yahoo uk issue --- domains/uk.news.yahoo.com.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 domains/uk.news.yahoo.com.js diff --git a/domains/uk.news.yahoo.com.js b/domains/uk.news.yahoo.com.js new file mode 100644 index 0000000..0262108 --- /dev/null +++ b/domains/uk.news.yahoo.com.js @@ -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 -- 2.39.2