Profile cover photo
Profile photo
Nil Geisweiller
82 followers
82 followers
About
Nil's interests
View all
Nil's posts

Post has attachment

Post has attachment

If you are fed up to have reposts in your soundcloud stream, just press F12 and paste this script in your browser console (many thanks to the author, Noam Lerner):

(function() {    var skipButton = document.getElementsByClassName("skipControl playControls__icon sc-ir skipControl__next")[0];
    var skip = [];

    function repeat() {
        var posts = document.getElementsByClassName('soundList__item');
        for (var i = 0; i < posts.length; i++) {
            if (posts[i].innerHTML.indexOf('Reposted') !== -1) {
                skip.push(posts[i].getElementsByClassName("soundTitle__title")[0].getElementsByTagName('span')[0].innerHTML);
                posts[i].parentNode.removeChild(posts[i]);
            }
        }
        var check = document.getElementsByClassName("playbackSoundBadge__titleContextContainer")[0];
        console.log(skip);
        if (check !== undefined) {
            var curSongHolder = check.getElementsByTagName('a')[1];
            for (var i = 0; i < skip.length; i++) {
                if (skip[i] === curSongHolder.innerHTML) {
                    console.log('gah');
                    skipButton.click();
                }
            }
        }
        console.log('run');
        setTimeout(repeat, 300);
    }
    repeat();
})();

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Wait while more posts are being loaded