MySpace, The New Home Skin (discussion)
|
|
How To Differentiate The LayoutsThe 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? |
|
|
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? |
|
|
Well I just realised my script does that already lol
I was going to make my own auto-update script but if you're going to, I won't bother.
The script will still only be a few kilo bits so it ain't gunna hurt.
Hey, you should put my Update Notification Script in it when you update it :)
|
|
|
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) |
|
|
Hey mate, any chance in getting your email address or something as it's easier than relying on these comments getting read.
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. |
|
|
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... |
|
|
is this code done yet? tiny myspace layouts | tiny layouts | skinny myspace layouts |
