Forked from noscript/SoundCloudHideReposts.user.js
Last active
April 13, 2017 16:59
-
-
Save LennyPenny/7788633df48608d66aee42fc90623c12 to your computer and use it in GitHub Desktop.
SoundCloudHideReposts - for GreaseMonkey / TamperMonkey
This file contains 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 hide reposts | |
// @namespace https://gist.github.com/noscript | |
// @version 1.2 | |
// @description hides reposts and playlists in stream | |
// @match http://soundcloud.com/stream | |
// @match https://soundcloud.com/stream | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js | |
// @copyright 2013, Upated 2015, Forked 2016, Forked again 2017 | |
// ==/UserScript== | |
(function () { | |
function norepost() { | |
$(".soundList__item:has('.soundContext__repost')").remove(); | |
$(".soundList__item:has('.playlist')").remove(); | |
} | |
window.addEventListener("DOMNodeInserted",norepost, false); | |
})() ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍