Jump to content

Recommended Posts

My goal is to send myspace friend requests using coding.

I know that

http://friends.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=

with a friend id at the end will bring me to the page i need.

and i can generate the id's that i need.

Looking at the source code you have a confirm button that has

onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$ctl00$ctl00$cpMain$cpMain$cpfMainBody$AddFriendRequestButtons$btnAddToFriends", "", true, "AddFriendsValidation", "", false, false))"

i need to change the onclick to some sort of onload event or something like that.

my problem is i cant get myspace's javascript stuff to work.

i save the source to an html file, and before i even mess with the coding i cant get the confirm button to do anything.

the cancel button works so it must be javascript.

Link to comment
https://forums.phpfreaks.com/topic/127491-not-sure-how-to-get-this-working/
Share on other sites

That is true they dont but im using a file just saved onto my computer.

If you press control + s you can save the page you are on.

It also saves a folder with the javascript files in it.

Ive checked for the function it uses, and its there but just doesnt do anything once its not on myspace.

This thread is more than a year old. Please don't revive it unless you have something important to add.

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

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.