Created
March 23, 2024 20:20
-
-
Save coderobe/73ca39c1d19dc2cd491ccdf2647f0f57 to your computer and use it in GitHub Desktop.
enables scrubbing through long tracks on soundcloud without having to be logged in
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Soundcloud scrub fix | |
// @namespace https://coderobe.net/ | |
// @version 0.1 | |
// @description enables scrubbing through long tracks on soundcloud without having to be logged in | |
// @author Mara Broda (coderobe) | |
// @match https://soundcloud.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=soundcloud.com | |
// @grant none | |
// ==/UserScript== | |
// | |
(function(){ | |
let[s,p,l,c]=["shouldBlockScrubbing",Function.prototype,"call"]; | |
c=p[l]; | |
p[l]=function(...a){ | |
return!{slice:1,get:1,includes:1}[this["name"]]&&(this+"").includes(s)&(this+"").length<1337?(p[l]=c).apply(e=>e.exports[s]=_=>!1,a):c.apply(this,a) | |
} | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you!