Jump to content

Not sure how to get this working


kronikel

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.

Archived

This topic is now archived and is closed to further replies.

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