There are 5 previous versions of this script.
// ==UserScript==
// @name MySpace Simplify Profiles
// @namespace http://userscripts.org/users/23652
// @description Strips youtube videos, flash objects, iframes, custom styles, and applications from profiles
// @include http://*.myspace.com/*
// @copyright JoeSimmons
// @version 1.0.4
// @license Creative Commons Attribution-Noncommercial 3.0 United States License
// ==/UserScript==
// Changelog
// 1.0.0 - Created
// 1.0.1 - Removed excess videos and flash content
// 1.0.2 - Fixed bug with music player not showing
// 1.0.3 - Fixed a problem with my MySpacenlarge script
// 1.0.4 - Fixed include running problem, now doesn't run on homepage
(function(){
if(!parent || parent.location!=location) return;
if(document.body.textContent.indexOf('Last Login')==-1 || parent.location.href.indexOf("fuseaction=home")!==-1) return;
var array = document.evaluate("//object[not(@id='shell') and not(contains(@data,'myspace.com')) and not(contains(@data,'myspacecdn.com'))] | //iframe | //style[not(@id='myspacenlarge')] | //embed | //link[contains(@href,'ThemeCss.ashx') or contains(@href,'UserStyle.ashx') or contains(@href,'ProfileCss.ashx')] | //div[contains(@class, 'mdpapplicationModule')] | //table[starts-with(@id,'appchrome_')]",document,null,6,null);
for(var i=array.snapshotLength-1; (item=array.snapshotItem(i)); i--) item.parentNode.removeChild(item);
document.body.removeAttribute('class');
})();
