From fc583bdcaf61c201c690bb2198197606d974320d Mon Sep 17 00:00:00 2001
From: Jan <rsge@web.de>
Date: Tue, 21 Jun 2022 20:30:17 +0200
Subject: [PATCH] Update to new site version

Didn't work anymore for a seemingly updated site, so I checked and they changed the button class name
---
 GreaterGood-CTG-AutoClicker.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/GreaterGood-CTG-AutoClicker.js b/GreaterGood-CTG-AutoClicker.js
index effa9e9..4953799 100644
--- a/GreaterGood-CTG-AutoClicker.js
+++ b/GreaterGood-CTG-AutoClicker.js
@@ -4,7 +4,7 @@
 // @description  Automatically clicks through all the buttons on all subsites of the GreaterGood ClickToGive program every two hours.
 // @description:de Klickt sich automatisch alle zwei Std. durch alle Buttons auf allen Seiten des GreaterGood-ClickToGive-Programms.
 
-// @version      1.3.1
+// @version      1.4.0
 // @author       Rsge
 // @copyright    2021+, Jan G. (Rsge)
 // @license      Mozilla Public License 2.0
@@ -60,7 +60,7 @@
     for (i = 0; i < divs.length; i++) {
         var divClass = divs[i].className;
         //console.log(divClass);
-        if (divClass.includes("-site col-xs-3 col-sm-4 button-to-count") &&
+        if (divClass.includes("-site col-xs-4 button-to-count") &&
             !divClass.includes("click-more-clickAttempted") &&
             SITES.includes(divs[i].innerText)) {
             var link = divs[i].firstElementChild.href;
-- 
GitLab