How to close ad popup instead of closing the whole browser?

JustNoah

New Member
VIP
Joined
Jun 9, 2022
Messages
3
Reaction score
0
Achievement
I recently joined this 9hit group, and I tried to do the macro myself by just simply copy and pasting this:

await Delay(20000, 30000)
tabs = await TabCount();
while (tabs > 1) {
await TabFocus(tabs--);
await Delay(100);
await EvaluateScript("setTimeout(function(){var ww = window.open('about:blank', '_self'); ww.close();}, 500);");
}
await TabFocus(tabs);

however it did not close the ad popup window, for me to earn revenue my ad network requires me to close the ad, otherwise I won't earn revenue. I tried using (exit) but it closes the whole browser. Seriously, if someone could help me I would literally pay you through PayPal, I just tried doing it myself and I couldn't get it to work. Thank you so much!
 

JustNoah

New Member
VIP
Joined
Jun 9, 2022
Messages
3
Reaction score
0
Achievement
I figured it out, that scripts works just right! God bless everyone, ^^
 

fbsemi51

New Member
Premium
Joined
Apr 28, 2020
Messages
87
Reaction score
0
Achievement
 

fbsemi51

New Member
Premium
Joined
Apr 28, 2020
Messages
87
Reaction score
0
Achievement
 

fbsemi51

New Member
Premium
Joined
Apr 28, 2020
Messages
87
Reaction score
0
Achievement

fbsemi51

New Member
Premium
Joined
Apr 28, 2020
Messages
87
Reaction score
0
Achievement
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu