Jump to content
UBot Underground

Typing Text using random ids


Recommended Posts

Any ideas why this doesn't work ?

What's my mistake ?

ui block text("Commenting", #commenting)
clear list(%commenting)
add list to list(%commenting, $scrape attribute(<outerhtml=w"<textarea class=\"item_input new_comment_input list_comment_text\" name=\"comment_text\" id=\"*_comment_text\" placeholder=\"Leave a Comment..\" image_id=\"*\"></textarea>">, "image_id"), "Delete", "Global")
set(#commentingid, $random list item(%commenting), "Global")
type text($element from text("<textarea class=\"item_input new_comment_input list_comment_text\" name=\"comment_text\" id=\"{#commentingid}_comment_text\" placeholder=\"Leave a Comment..\" image_id=\"{#commentingid}\"></textarea>"), #commenting, "Standard")

I'm scrapping comment box ids first, then set a random id, so i can replace at 2 places

 

I do set an ID by the way. I see it in the debugger. So it must have something to do with the way i try to input it into TYPE TEXT i guess ?

 

Thanks

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