Write a script

Employer
[no-member:pro]Nikolay[/no-member:pro]Nikolay
Project parameters
Type of cooperationOne-time project
SectionWeb development, Web programming
Prepaymentprepayment is possible
Payment methodsElectronic money
Acceptance of requestsclosed
Project description
There is a specific site, the site has a button, a captcha and advertising from Google. The guy comes in once an hour, puts in a captcha and gets a bonus.
I need to:
Whenever the button comes in, it's not active. The person clicks on the Google ad, the ad opens in a separate window, 5-10 seconds, the button is activated. The timer on the button or near the button.
There is a script that works completely. But it doesn't work with Google ads and it doesn't have a button attached.
The rest is exactly as it should be.
There in the code I specifically left the inscription - Click here (any html code can be inserted here) - If
Click on it, the script will work, and if you click on an ad from Google, it will not work.
I need to:
Whenever the button comes in, it's not active. The person clicks on the Google ad, the ad opens in a separate window, 5-10 seconds, the button is activated. The timer on the button or near the button.
There is a script that works completely. But it doesn't work with Google ads and it doesn't have a button attached.
The rest is exactly as it should be.
There in the code I specifically left the inscription - Click here (any html code can be inserted here) - If
Click on it, the script will work, and if you click on an ad from Google, it will not work.