OpenSpotify-For-Mobile

Make spotify web player working on mobile device.

// ==UserScript==
// @name         OpenSpotify-For-Mobile
// @namespace    http://tampermonkey.net/
// @version      0.3
// @description  Make spotify web player working on mobile device.
// @run-at       document-start
// @author       dev-angelist
// @include      http*://open.spotify.com/*
// @license      MIT; https://opensource.org/licenses/MIT
// @copyright    2020, dev-angelist
// @grant        none
// @namespace    https://gf.qytechs.cn/en/scripts/459155-openspotify-for-mobile
// ==/UserScript==
// Simple script that permits you to simulate desktop vs on your
// mobile phone and run open spotify free.
(
 function () {
 
    'use strict';
    let _scr = {};
 
    for (const key in window.screen) {
        _scr[key] = window.screen[key];
    }
    
    //Setting display size

    Object.setPrototypeOf(_scr, Object.getPrototypeOf(window.screen));
    
    _scr.width = 1080;
    _scr.height = 1920;
 
    window.screen = _scr;
 
 } 
 
)();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址