Project 4

 


// ==UserScript==
// @name         Remove
// @namespace    https://sngonza2.tumblr.com/
// @version      0.1
// @description  Listen to random music
// @author       Stephanie Gonzalez
// @match *://*.spotify.com/*
// @include *://*.spotify.com/*
// @grant        none
// @require http://code.jquery.com/jquery-latest.js
// @require http://arts445.courses.bengrosser.com/files/ready-vanilla.js
// ==/UserScript==

(function() {
    'use strict';

    //Featured
    var j = jQuery.noConflict();
    ready('.mo-info-name', hideMe);
    ready('h1', question);
    ready('.mo-meta', hideMe);
    ready('h2', question);
    ready('.tracklist-container', hideMe);
    ready('.now-playing', hideMe);
    ready('.recently-played', hideMe);
    ready('.cover-art-image', function(e) {
        setTimeout(function() {
        j(e).animate({opacity:0});
        }, 600);
    });

    function hideMe(e){
    j(e).hide();
    }

    function question(e){
        j(e).text("???");
    }
})();


Comments are closed.