Spotify Play - bigger cover art

Added by Kjetil Torgrim Homme@userstyles, Created: Aug 11, 2015, Updated: Aug 11, 2015
With the style applied

Description:

The cover art file downloaded by your browser is 300x300 pixels large, but it is scaled down to 210x210. Make room for the image in its full glory.

More info
Needs the following JS script code (installed with GreaseMonkey) to resize the album art since the page will (re-)inject an <A> element with hardcoded size when the image is replaced.
// ==UserScript==
// @name		Spotify Play - bigger cover art
// @namespace	        http://njus.no
// @version		1.0.0
// @include		https://play.spotify.com/*
// @copyright           2015, Kjetil Torgrim Homme
// @description         Override album art size
// ==/UserScript==

setInterval(function ()
    {
        // See if we have a player, and adjust size every 2 seconds
        var pl = document.getElementById('app-player');
        if (pl) {
            var art = pl.contentDocument.getElementById('cover-art').getElementsByTagName('a')[0];
            if (art) {
                art.setAttribute('style', "width: 300px; height: 300px;");
            }
        }
    }, 2000);

You should to add comment and rate the style.

Discussions

+ Create discussion

Installs:
Applies to:
play.spotify.com
License:
CC0 1.0 Universal.
Kjetil Torgrim Homme@userstyles has waived all copyright and related or neighboring rights to Spotify Play - bigger cover art, to the extent allowed by law.

Related styles:

WARNING: This webware is not functioning properly. Please enable javascript in your browser and try again.