Skip to content

Instantly share code, notes, and snippets.

View VMatrix1900's full-sized avatar

Vincent Stone VMatrix1900

  • Huawei
  • Beijing, China
View GitHub Profile
var sids = document.getElementsByClassName("share-item-delete");
var url="http://share.renren.com/share/EditShare.do";
for(var i=0;i<sids.length;i++){
var sid = sids[i].getAttribute("data-id");
var formData = new FormData();
formData.append('action', 'del');
formData.append('sid',""+sid);
formData.append('type', ""+nx.user.id);
formData.append('requestToken', ""+nx.user.requestToken);
formData.append('_rtk', ""+nx.user._rtk);