LastFMfix

By Miami Last update Nov 1, 2008 — Installed 157 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1

There are 2 previous versions of this script.

// ==UserScript==
// @name           LastFMfix
// @namespace
// @description    LastFM->Listen: fix player size and remove flash-advertise.
// @include        http*://*last.fm/listen/*
// @include        http*://*lastfm.com.tr/listen/*
// @include        http*://*lastfm.com.br/listen/*
// @include        http*://*lastfm.de/listen/*
// @include        http*://*lastfm.es/listen/*
// @include        http*://*lastfm.fr/listen/*
// @include        http*://*lastfm.it/listen/*
// @include        http*://*lastfm.jp/listen/*
// @include        http*://*lastfm.pl/listen/*
// @include        http*://*lastfm.ru/listen/*
// @include        http*://*lastfm.se/listen/*
// @version        1.0
// @author         Miami
// @email          miami at blackcrystal dot net
// @homepage       http://www.blackcrystal.net/labs/lastfmfix/
// ==/UserScript==

/**
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

var el = document.getElementById("LastAd_TopRight").parentNode;
el.style.color = "#696969";
el.innerHTML = "<br><p>LastFMfix userscript actions:</p>";
el.innerHTML += "- Advertise removed<br>";

document.getElementById("lfmPlayer").height = '300px';
document.getElementById("lfmPlayer").width = '330px';
document.getElementById("player").style.width = '330px';

document.getElementById("listenContent").childNodes[1].style.width = "330px";
document.getElementById("listenContent").childNodes[3].style.width = "45%";
document.getElementById("listenContent").childNodes[1].style.background = 
document.getElementById("listenContent").childNodes[3].style.background = "#ffffff";
document.getElementById("listenContent").childNodes[3].childNodes[1].style.height = '280px';

el.innerHTML += "- Player size fixed<br>";
el.innerHTML += "<p>Wish you pleasant listening!</p>";