AxeOfMen

Roblox Rapid Friend Removal

Jun 20th, 2014
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Usage:
  2. //Browse to your "Friends" page on ROBLOX
  3. //Open firebug, console window
  4. // Click "Show Command Editor" (red button in lower right corner)
  5. //Paste this script and click "Run" on the command editor menu
  6. //Now click all friends on the page that you want to remove
  7. //If you go to another page, you must click "Run" again on the command editor menu.
  8. var myUserId = $(".pager.next.friends-next").data("displayedUserId");
  9. $(".roblox-avatar-image a img").click(function(){
  10.   $.ajax({
  11.     url: "/friends/removefriend",
  12.     type:"post",
  13.     data: {
  14.       displayedUserID: myUserId,
  15.       invitationID: "undefined",
  16.       pageNum: 1,
  17.       targetUserID: $(this).closest("div").closest("a").data("userId"),
  18.       view: "Friends"
  19.     }
  20.   });
  21.   $(this).closest(".friend-container").remove();
  22.   return false;
  23. })
Advertisement
Add Comment
Please, Sign In to add comment