create account

Soundcloud hacking: Promote to all joined groups quickly - 1-Click JavaScript Bookmarklet by devnull

View this thread on: hive.blogpeakd.comecency.com
· @devnull · (edited)
Soundcloud hacking: Promote to all joined groups quickly - 1-Click JavaScript Bookmarklet
<html>
<p>This is my JavaScript bookmarklet that I constructed a few years ago to enable me to quickly add and/or re-add music tracks to Soundcloud groups. It still works, therefore I am sharing it with you all today.</p>
<p>What this script does is firstly deselects all groups that your track is listed in, and then lastly re-selects all the groups, in essence pushing your track in previously selected groups back to the top of the group list.</p>
<p>Here is the code below, simply copy and paste this code in to the URL field <strong>when adding a link to your bookmarks</strong>. (google search should help you for your browser/os combination: <em>How to add a bookmarklet</em>).</p>
<pre>
javascript: (function(){
  var groupList=document.querySelectorAll('.addToGroup')[0].getElementsByTagName('ul')[0];
  
  /* console.log('Deselecting all groups to re-add later'); */
  for(var i=0; i < groupList.children.length;i++) {
    var button=groupList.children[i].getElementsByTagName('button')[0];
    if (button.className === 'addToGroupButton sc-button-blue sc-button sc-button-medium sc-button-responsive sc-button-selected') { 
      button.click();
    }
  }

  function clickAll(){
    /* console.log('Selecting all groups, add previously removed back to top of list'); */
    for(var i=0; i < groupList.children.length;i++) {
      groupList.children[i].getElementsByTagName('button')[0].click();
    }
  }

  clickAll();
})();
</pre>
<p>Also posted on Pastebin many years ago (if you need/want the compressed JS or if this site breaks the JS in this page): <a href="http://pastebin.com/c30jPK3g">http://pastebin.com/c30jPK3g</a>&nbsp;</p>
<h3><br>
Using the bookmarklet</h3>
<blockquote><strong>Note: The more groups you have joined the more PC resources needed to run the script. In some cases with older PC's you may encounter temporary web browser freezes while the script runs - if this happens just wait a minute or two (at most).</strong></blockquote>
<p><strong>Step 1:</strong></p>
<p>Click on the add to group button for your selected track (as highlighted below in red).</p>
<p><img src="https://s31.postimg.org/ix3mqotjv/step1.png" width="100%" height="auto"/></p>
<p><br></p>
<p><strong>Step 2:</strong></p>
<p>Simply click on the Soundcloud bookmarklet (as highlighted in red).</p>
<p><img src="https://s31.postimg.org/3pnn6c1p7/step2.png" width="100%" height="auto"/></p>
<p><br></p>
<p><strong>Step 3:</strong></p>
<p><strong>That's it. </strong>Repeat these steps when your track starts to fall from the top of the groups to push it back to the top.</p>
<p><img src="https://s31.postimg.org/3qxkzr3iz/step3.png" width="100%" height="auto"/></p>
</html>
👍  , , , , , , , ,
properties (23)
authordevnull
permlinksoundcloud-promote-to-all-groups-quickly-1-click-javascript-bookmarklet
categoryhacking
json_metadata{"tags":["hacking","coding","tricks","music","promotion","soundcloud","javascript","bookmarklet"],"image":["https://s31.postimg.org/ix3mqotjv/step1.png","https://s31.postimg.org/3pnn6c1p7/step2.png","https://s31.postimg.org/3qxkzr3iz/step3.png"],"links":["http://pastebin.com/c30jPK3g"]}
created2016-07-10 15:40:57
last_update2016-07-11 20:00:00
depth0
children7
last_payout2016-08-13 21:49:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,679
author_reputation28,815,156,430
root_title"Soundcloud hacking: Promote to all joined groups quickly - 1-Click JavaScript Bookmarklet"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id74,050
net_rshares20,877,103,284
author_curate_reward""
vote details (9)
@isteemit ·
Nice! Upvoted.
👍  
properties (23)
authoristeemit
permlinkre-devnull-soundcloud-promote-to-all-groups-quickly-1-click-javascript-bookmarklet-20160710t160924657z
categoryhacking
json_metadata{"tags":["hacking"]}
created2016-07-10 16:09:30
last_update2016-07-10 16:09:30
depth1
children1
last_payout2016-08-13 21:49:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length14
author_reputation25,840,364,598,625
root_title"Soundcloud hacking: Promote to all joined groups quickly - 1-Click JavaScript Bookmarklet"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id74,195
net_rshares242,408,270
author_curate_reward""
vote details (1)
@devnull ·
Thank you, much appreciated.
properties (22)
authordevnull
permlinkre-isteemit-re-devnull-soundcloud-promote-to-all-groups-quickly-1-click-javascript-bookmarklet-20160710t162707447z
categoryhacking
json_metadata{"tags":["hacking"]}
created2016-07-10 16:27:06
last_update2016-07-10 16:27:06
depth2
children0
last_payout2016-08-13 21:49:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length28
author_reputation28,815,156,430
root_title"Soundcloud hacking: Promote to all joined groups quickly - 1-Click JavaScript Bookmarklet"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id74,275
net_rshares0
@mikebike ·
What thats sick all this time that's been there. So how many groups can I join and post to devnull? Max props upvoted.
👍  
properties (23)
authormikebike
permlinkre-devnull-soundcloud-promote-to-all-groups-quickly-1-click-javascript-bookmarklet-20160711t033934863z
categoryhacking
json_metadata{"tags":["hacking"]}
created2016-07-11 03:39:30
last_update2016-07-11 03:39:30
depth1
children4
last_payout2016-08-13 21:49:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length118
author_reputation55,592,167,846
root_title"Soundcloud hacking: Promote to all joined groups quickly - 1-Click JavaScript Bookmarklet"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id76,891
net_rshares247,256,436
author_curate_reward""
vote details (1)
@devnull ·
The script has no real limit, it simply loops over all the groups that you have joined, so the limit is with Soundcloud and how many groups they let you join - I don't know the answer to that, sorry. In the example shown there are 50 groups.

There is one thing to note though (which I will add to the original post). The more groups you have joined the more resources your PC needs to run the script (it was a quick hack-n-slash job so slightly inefficient) - in some cases on older machines this can cause a temporary browser freeze - if this happens the best thing to do is wait a couple of minutes (at most) to let it run.

Thanks for your interest and support.
properties (22)
authordevnull
permlinkre-mikebike-re-devnull-soundcloud-promote-to-all-groups-quickly-1-click-javascript-bookmarklet-20160711t170410592z
categoryhacking
json_metadata{"tags":["hacking"]}
created2016-07-11 17:04:09
last_update2016-07-11 17:04:09
depth2
children3
last_payout2016-08-13 21:49:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length665
author_reputation28,815,156,430
root_title"Soundcloud hacking: Promote to all joined groups quickly - 1-Click JavaScript Bookmarklet"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,563
net_rshares0
@mikebike ·
Thanks! The only other part I'm having a problem with is saving it as a bookmarklet in my browser (Firefox). Can you give me a quick walk through for doing that? Thanks!
properties (22)
authormikebike
permlinkre-devnull-re-mikebike-re-devnull-soundcloud-promote-to-all-groups-quickly-1-click-javascript-bookmarklet-20160711t171224704z
categoryhacking
json_metadata{"tags":["hacking"]}
created2016-07-11 17:12:24
last_update2016-07-11 17:12:24
depth3
children2
last_payout2016-08-13 21:49:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length169
author_reputation55,592,167,846
root_title"Soundcloud hacking: Promote to all joined groups quickly - 1-Click JavaScript Bookmarklet"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,590
net_rshares0