Jump to content
UBot Underground

Script Auto Comment In Many Blogs


Recommended Posts

My code:

ui open file("List of urls",#urls)
if($is blank(#urls)) {
    then {
        alert("Please load a list of urls first")
        stop script
    }
    else {
    }
}
clear list(%urls)
add list to list(%urls,$list from file(#urls),"Delete","Global")
if($exists(<onclick="javascript:window.open(this.href, \"bloggerPopup\", \"toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=640,height=500\"); return false;">)) {
    then {
        click(<onclick="javascript:window.open(this.href, \"bloggerPopup\", \"toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=640,height=500\"); return false;">,"Left Click","No")
        type text(<name="postBody">,"sssss","Standard")
    }
    else {
        click(<id="Blog1_blog-pager-older-link">,"Left Click","No")
        click(<id="Blog1_blog-pager-older-link">,"Left Click","No")
        type text(<name="commentBody">,"sssssssssssssssssssssssss","Standard")
    }
}
loop($list total(%urls)) {
    navigate($next list item(%urls),"Wait")
    if($exists(<onclick="javascript:window.open(this.href, \"bloggerPopup\", \"toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=640,height=500\"); return false;">)) {
        then {
            click(<onclick="javascript:window.open(this.href, \"bloggerPopup\", \"toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=640,height=500\"); return false;">,"Left Click","No")
            type text(<name="postBody">,"sssss","Standard")
        }
        else {
            click(<id="Blog1_blog-pager-older-link">,"Left Click","No")
            click(<id="Blog1_blog-pager-older-link">,"Left Click","No")
            type text(<name="commentBody">,"sssssssssssssssssssssssss","Standard")
            wait(20)
        }
    }
}

Link to post
Share on other sites

For the commenting part I notice a lot of blogs have a similar comment form which is not the Disqus ones but I think its the normal form, this will fill that out:

type text(<name="commentBody">,"Enter your comment...","Standard")
change dropdown(<name="identityMenu">,"Anonymous")
click(<name="postCommentSubmit">,"Left Click","No")

Depending on what you see after it (you will have to try several to see what text shows) you can use something like this to see if the comment was posted:

if($comparison($scrape attribute(<id="main-status">,"innertext"),"= Equals","Your comment will be visible after approval.")) {
    then {
        comment("Success")
    }
    else {
        comment("Failure")
    }
}
  • Like 1
Link to post
Share on other sites

Sorry HelloInsomnia, i try this code but tool not run, could you build a code auto comment many blogspot sites and sell this, i'm gonna buy this code.

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