Any solution for Tab Closing?

Need help to creating macros ?
Post Reply
wernerk93
Posts: 7
Joined: Thu Mar 01, 2018 1:13 pm

Any solution for Tab Closing?

Post by wernerk93 » Fri Aug 16, 2019 10:56 am

Hey guys.

Do you know someone solution for tab closing?

I want to open popups on my site and after some sec or minute want to close them.

Because its opening 3 tabs and eat too much CPU.

HitzBooster
Posts: 29
Joined: Wed Apr 24, 2019 1:30 am
Location: Venezuela
Contact:

Re: Any solution for Tab Closing?

Post by HitzBooster » Fri Aug 16, 2019 10:59 am

Try to set Max Popups to one (1)

opsfafsme
Posts: 74
Joined: Mon Jul 02, 2018 9:47 am

Re: Any solution for Tab Closing?

Post by opsfafsme » Fri Aug 16, 2019 1:26 pm

Code: Select all

await WaitForLoading ();
await Delay(10000);
var tabcount = await TabCount ();
for (var i = 2; i <= tabcount; i++) {
  TabFocus(i);
  await Delay(100);
  await ExecuteScript('window.close();');
}
Points for sale.
10.000.000 -> €7
20.000.000 -> €12
40.000.000 -> €25

More -> Pm me (opsfafsme) to custom price
Webmoney, Bitcoin, and more!

I'll start your 9Hits sessions (up to 400) on my vps.
30 9Hits sessions -> €9.87/m

Post Reply