您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Does autoplay first track of given category
// ==UserScript== // @name soundcloud autoplay // @author erm3nda at gmail.com // @author-www http://tronko.es // @namespace souncloud-autoplay // @icon http://files.softicons.com/download/social-media-icons/simple-icons-by-dan-leech/png/32x32/soundcloud.png // @description Does autoplay first track of given category // @include https://soundcloud.com/ // @include https://soundcloud.com/explore/* // @version 1 // @grant none // @require http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js // ==/UserScript== //~ var category = "" // set blank for trending-music var category="electronic" // var category="alternative+rock" $( document ).ready(function() { console.log( "ready!" ); if (document.URL == "https://soundcloud.com/") { window.location.href = "https://soundcloud.com/explore/" + category } if (document.URL == "https://soundcloud.com/explore/" + category) { setTimeout(function() { buttons = document.getElementsByClassName("sc-button-play") play = buttons[0] play.click() console.log("Playing ...") }, 5000) } });
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址