MySpace, The New Home Skin (discussion)

Subscribe to MySpace, The New Home Skin (discussion) 7 posts, 3 voices

 
InsaneNinja Scriptwright

How To Differentiate The Layouts

The includes and excludes are designed to adjust for the many different url variates.

// ==UserScript==
// @name           MySpace - Example homepage script
// @namespace      http://userscripts.org/
// @description    Example homepage script
// @include        http://home.myspace.com/*fuseaction=user*
// @exclude        *fuseaction=user.*
// ==/UserScript==

    var DEFINE_VARIABLES = '';

///////////////////////////////////////////////

if (document.getElementById('home_profileInfo'))
{
    var viewing = 'Classic Layout';
}

if (document.getElementById('col3'))
{
    var viewing = 'NEW Layout';
}

At this point, what scripts ARE updated, and what scripts NEED to be updated?

 
InsaneNinja Scriptwright

i am deciding on the best way to upgrade "MySpace - Home Auto-Update"

1. Add all new code to update the page, complicating the process and possibly breaking both layouts on any myspace update.

2. Create new script "MySpace - Classic Home Auto-Update" and run them separately?

 
Seifer Scriptwright

Well I just realised my script does that already lol
I didn't even have to update it... I went to and I'm like... no wait, I've already got that LOL.

I was going to make my own auto-update script but if you're going to, I won't bother.
I think put em both in one.. make it easier for n00bs.

The script will still only be a few kilo bits so it ain't gunna hurt.
MySpace will fade the old skin out one day anywayz..

Hey, you should put my Update Notification Script in it when you update it :)
-Seifer

 
InsaneNinja Scriptwright

they wont fade it out.. they are actually gonna be creating more skins as time goes on..

http://blog.myspace.com/tom (add it to your rss reader of choice)

 
Seifer Scriptwright

Hey mate, any chance in getting your email address or something as it's easier than relying on these comments getting read.
I've just done quite a lot of work to my script and would like to send it to you for any suggestions.
You can now move all the pieces around just with your mouse :)
Man, that was hard to figure out! and to think these scripts were the first things I've ever done in Javascript (:

It doesn't let save the layout but i'm just going to make a 'fixed' layer appear as soon as the layout is changed and in that you'll be able to add pieces, delete pieces, and save/discard the layout.

 
InsaneNinja Scriptwright

my myspace is listed on my profile here

or just take a guess at what the name is and add @gmail.com to the end...

 
Brinked User is this code done yet?
tiny myspace layouts | tiny layouts | skinny myspace layouts