Soundcloud comment unhacker

By AnorZaken Last update Feb 15, 2013 — Installed 43 times.

Script Summary: Moves soundcloud comments posted before the start of the track back to the beginning of the track where they belong



Version: 1.1

Got so, sooo very tired of some people thinking they are cool by posting outside of the comment area, thus sometimes covering the duration numbers and / or the play/pause-button. Well I'll have no more of that mumbo-jumbo!
This script will move all those "hack"-comments back to the beginning of the comments where they belong. No more comment littering!

(Made for the old classic SoundCloud look, not needed I belive in the new layout? Not using it because I prefer the old looks still.)

(I've actually never coded javascript before, I learned the basics in one evening just so I could get rid of this annoyance! In other words this is my first script so feedback and appreciation is welcome :)

Here is an example: http://soundcloud.com/dubstep/spatial-travel-by...
Here is one more: http://soundcloud.com/fuckourordinarylives/f-o-...

Update:
It wasn't working when you expanded a bunch of tracks on the dashboard ("Show all"), so I made a little improvement. (v1.1)
(I'm not used to javascript so if you happen to be someone with more javascript/dom experience feel free to improve it or tell me how to and I will do it. I tried a MutationObserver object first but didn't quite get the grasp of it.)