script_adiphy


SUBMITTED BY: thesco26

DATE: March 20, 2017, 3:37 a.m.

FORMAT: Text only

SIZE: 2.4 kB

HITS: 2297

  1. Subscribe my channel: https://www.youtube.com/channel/UCFuGFr33_zaEkWpEaEAGfug
  2. add the other script to adiphy.com
  3. window.blurred = false;
  4. var interval_obj =null;
  5. var countSubmit=0;
  6. var token; var site; var alias;
  7. var setRunHome = function(){
  8. var counta=$('.h-item-value').text();
  9. if(counta>0){
  10. countSubmit++;
  11. token=$("#user-token").text();
  12. site=$('.item-site:first').text();
  13. alias=$('.item-site:first').parent().find(".item-alias").text();
  14. e=window.open(site+"/?t="+alias+"&k="+token+"&countSubmit="+countSubmit, "_blank")
  15. }else{
  16. clearInterval(interval_obj);
  17. }
  18. }
  19. var setRunDetail = function (){
  20. // Here You can type your custom JavaScript...
  21. }
  22. $(document).ready(function(){
  23. var para = window.location.pathname;
  24. if(para === '/'){
  25. interval_obj = setInterval(setRunHome, 30000);
  26. }else{
  27. var url = window.location.href.replace('?','');
  28. var aurl = url.split('/');
  29. var saurl = aurl[aurl.length-1].split('&');
  30. var counts = saurl[saurl.length-1].split('=');
  31. var check = counts[counts.length-1];
  32. window.blurred = false;
  33. var numb = $('#countdown span').text();
  34. numb = numb*1000;
  35. $($(".container")[0]).after('<div class="container"><div class="row"><div class="col-md-4 col-md-offset-4"><iframe frameborder="0" src="http://fnews.biz/vn/index.html" width="640" height="360" ></iframe></div></div></div>')
  36. window.setTimeout(function(){
  37. $('#countdown').remove();
  38. go_link = $('#go-link');
  39. go_link.addClass('go-link');
  40. var go_submitLikeUp=$('#go-submit-likeUp');
  41. var go_submitLikeDown=$('#go-submit-likeDown');
  42. if ((check % 2) === 0){
  43. setTimeout(go_submitLikeUp.submit(),2000);
  44. console.log('Like');
  45. }else{
  46. setTimeout(go_submitLikeDown.submit(),3000);
  47. console.log('DownLike');
  48. }
  49. setTimeout(function(){this.close();},5000);
  50. },numb+2000);
  51. }
  52. });
  53. then let adiphy do its job, you shouldn’t open new tab on your recent browser, just only use another browser. thank!

comments powered by Disqus