Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GreaterGood-CTG-AutoClicker
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gohrbandt, Jan
GreaterGood-CTG-AutoClicker
Commits
c96d438c
Commit
c96d438c
authored
2 years ago
by
Jan
Committed by
JG
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Semicolons everywhere!
parent
fc583bdc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GreaterGood-CTG-AutoClicker.js
+8
-8
8 additions, 8 deletions
GreaterGood-CTG-AutoClicker.js
with
8 additions
and
8 deletions
GreaterGood-CTG-AutoClicker.js
+
8
−
8
View file @
c96d438c
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
// @description Automatically clicks through all the buttons on all subsites of the GreaterGood ClickToGive program every two hours.
// @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.
// @description:de Klickt sich automatisch alle zwei Std. durch alle Buttons auf allen Seiten des GreaterGood-ClickToGive-Programms.
// @version 1.4.
0
// @version 1.4.
1
// @author Rsge
// @author Rsge
// @copyright 2021+, Jan G. (Rsge)
// @copyright 2021+, Jan G. (Rsge)
// @license Mozilla Public License 2.0
// @license Mozilla Public License 2.0
...
@@ -14,10 +14,10 @@
...
@@ -14,10 +14,10 @@
// @homepageURL https://github.com/Rsge/GreaterGood-CTG-AutoClicker
// @homepageURL https://github.com/Rsge/GreaterGood-CTG-AutoClicker
// @supportURL https://github.com/Rsge/GreaterGood-CTG-AutoClicker/issues
// @supportURL https://github.com/Rsge/GreaterGood-CTG-AutoClicker/issues
// @match https://greatergood.com/clicktogive/*
// @match
https://greatergood.com/clicktogive/*
// @match https://greatergood.com/clickToGive/*
// @match
https://greatergood.com/clickToGive/*
// @match https://*.greatergood.com/clicktogive/*
// @match
https://*.greatergood.com/clicktogive/*
// @match https://*.greatergood.com/clickToGive/*
// @match
https://*.greatergood.com/clickToGive/*
// @grant none
// @grant none
// ==/UserScript==
// ==/UserScript==
...
@@ -40,13 +40,13 @@
...
@@ -40,13 +40,13 @@
// On button site, click button
// On button site, click button
var
i
;
var
i
;
var
buttons
=
document
.
getElementsByTagName
(
"
BUTTON
"
);
var
buttons
=
document
.
getElementsByTagName
(
"
BUTTON
"
);
var
buttonFound
=
false
var
buttonFound
=
false
;
for
(
i
=
0
;
i
<
buttons
.
length
;
i
++
)
{
for
(
i
=
0
;
i
<
buttons
.
length
;
i
++
)
{
var
buttonHTML
=
buttons
[
i
].
innerHTML
;
var
buttonHTML
=
buttons
[
i
].
innerHTML
;
//console.log(buttonHTML);
//console.log(buttonHTML);
if
(
buttonHTML
==
"
Click to Give - it's FREE!
"
)
{
if
(
buttonHTML
==
"
Click to Give - it's FREE!
"
)
{
buttonFound
=
true
buttonFound
=
true
;
break
break
;
}
}
}
}
if
(
buttonFound
)
{
if
(
buttonFound
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment