Jakeukalane

autogive_lama

Aug 25th, 2014
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name           autogive_lama
  3. // @namespace      autogive_lama
  4. // @include        https://www.deviantart.com/modal/badge/*
  5. // ==/UserScript==
  6. var $=unsafeWindow.jQuery,holder,query,offset,fPage,pPage,lPage;
  7. if($("#givebadgeModal .smbutton").length>0){
  8. $("#tos").attr("checked","true");
  9. $("#givebadgeModal .smbutton").click();
  10. }
  11. if($(".secure.ultracompact.gruze").length!=0&&$("#givebadgeModal .smbutton").html()=="Done"){
  12. window.open('','_parent','');
  13. window.close();
  14. }
Advertisement
Add Comment
Please, Sign In to add comment