Jump to content
UBot Underground

Major Breakthrough


Recommended Posts

Hi Guys,

 

I've owned UBot for about 3 months now, but only really started using it in anger about a month ago. It is a really kewl piece of kit... but I guess you already knew that. B)

 

Anyway, I've been having some major issues with getting my Javascript Alerts to fire. Sometimes they will fire and at other times they won't. More frustratingly, even when I got them to fire consistently in the studio - that was no guarantee that the compiled Bot would fire as expected.

 

I've trawled the forums... and even Aaron admitted to not knowing what the proble (let alone solution) was. Well through trial and error, I think I might havecracked it.

 

Touch wood, but so far, I've been able to get the Alerts to fire every single time, as long as I navigate to Google (could be any other reliable site, I guess) and have a 'Stop Script' command after the Alert.

 

This is a major breakthrough for me, and I hope it helps someone else. :)

 

BTW... Did I say this Forum rocks?

Link to post
Share on other sites

You cannot fire an alert if you are on a page like about:blank.

 

I brought this up with Seth several months ago. IIRC, you must be nav'd to a page that has javascript on it in order to trigger the JS stuff in UBot.

 

I know, because I build offline bots with UBot and I have to nav to something like Google if I want the string library to fire.

Link to post
Share on other sites

You are spot on. I think that was part of the problem I was having.

 

If I tried to fire an alert early on in the script when the page was still blank it never fired. But I noticed that if I navigated to Google or another page before running the script it would fire. I put 2 and 2 together to get 5... :P

 

Also, it seems that sometimes after an alert is fired, the script doesn't shutdown properly, sso next time you run script it won't fire. Hence the addition of 'stop script'.

You cannot fire an alert if you are on a page like about:blank.

 

I brought this up with Seth several months ago. IIRC, you must be nav'd to a page that has javascript on it in order to trigger the JS stuff in UBot.

 

I know, because I build offline bots with UBot and I have to nav to something like Google if I want the string library to fire.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...