Jump to content
UBot Underground

Help please to get Eval to pass URL to a variable


Recommended Posts

Hi Guys

 

I'm going around in circles here and could do with a push in the right direction.

 

I'm trying to get the URL of the page the browser is at passed in to a variable. I've tried many things, but along the lines of the screenshot below.

 

Any help gladly appreciated !

 

Phil

post-2566-0-30245000-1305489320_thumb.png

Link to post
Share on other sites

have you tried something like this?

 

http://screencast.com/t/IZ4g5lPx1jFX

 

Hi Bot Buddy

 

Yes, and no. Yes, I have in other bots, and no, not in this one. The problem is that the url is unknown, so it has to be retrieved dynamically. I'm working in cpanel with the 'set security tokens' enabled, so that a random eight digit number is inserted in to the url.

 

I need to use javascript to get the url to allow me to navigate directly in to the iframe to click or select etc.

 

Best Regards

Phil

Link to post
Share on other sites

Maybe this is what you're looking for: http://screencast.com/t/aWWf6Dccu8V

 

Thanks a lot Eddie, that's exactly what I was looking for !

 

Silly thing is, I had been trying with window.location in the eval box, but I had the format of the javascript wrong, I was making it a function, and putting in the ; at line ends, which obviously it doesn't need. Simplest works best !

 

Thanks again, I'm moving forwards now,

 

Best Regards

Phil

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...