View Full Version : Script: "Add this link to your Myspace page"

05-22-2007, 05:13 AM
.... is there such a thing? I think I saw that somewhere but I cannot find it now...


Todd W
05-22-2007, 07:29 AM
What EXACTLY does it do just show the URL of the page you are on and let someone copy.paste it? or what

05-22-2007, 02:42 PM
I have seen some sites, usually video code sites or something similar, that will take you myspace username and password and have their backend login to your account and automatically add the video or whatever to your profile.

Personally, I would not trust giving any login information to an unknown site like this, but I would assume the average myspace user is not as security conscious.
Cannabis seeds (http://marijuanaseeds.org/)

05-22-2007, 11:02 PM
I am actually just looking for way to make Myspace users be able to make a link on certain site on their profiles.
That would be a graphical link that leads you to specific page. I was hoping to have some script to make that as simple as possible for Myspace users.

05-22-2007, 11:05 PM
The easiest way is just to display the HTML code for the link in a textarea field on your site and tell them to copy and paste it to their profile in order to link to you.
Mercedes-Benz High Performance Engines History (http://www.mercedes-wiki.com/wiki/Mercedes-Benz_High_Performance_Engines)

05-23-2007, 04:24 AM
Yes, but pages will be dynamic (with parameters, etc..). So it will not be that simple, but I think I will make it somehow. ;)


05-23-2007, 01:21 PM
If the page are dynamic, you could easily have the backend spit out the link code, or you could do it with javascript to do it on the fly for any page. Something like the code below should work:

<script language="javascript"><!--
document.write('<textarea rows=4 cols=60><a href="' + document.location + '">' + document.title + '</a></textarea>');

Xj650 (http://www.cyclechaos.com/wiki/Yamaha_XJ650)

05-23-2007, 02:14 PM
On a few of my websites, a text area generates code which they can then copy and paste onto their profile.

While there are ways to have a button auto-install the code, I would highly advise against it. MySpace is very strict these days because of the phishing epidemic.