Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Register and get 1$ free and support me for more leaks: http://adiphy.com/invitation/c58c7c8e58483f12d9afcf34dee422b542be7c7a
- Register and dont support me http://adiphy.com/
- Step 1:
- Download google chrome add-on: https://chrome.google.com/webstore/detail/custom-javascript-for-web/poakhlngfciodnhlhhgnaaelnpjljija
- Step 2:
- a. Go to: http://dearpig.com and http://soccerjoke.com
- b. Disable Ad-block for those websites
- c. Click your chrome-addon in the right upper corner of your browser.
- d. Insert code under cjs and save
- Code:
- $(document).ready(function(){
- var go_link=$('#go-link');
- var go_submit=$('#go-submit');
- go_link.addClass('go-link');
- go_submit.text('Done').removeAttr("onclick");
- go_submit.click();
- setTimeout(function(){ window.close(); },1000);
- });
- Step 3:
- a. Login to http://adiphy.com
- b. Click the add-on an insert the code below:
- Code:
- $(document).ready(function(){
- var flag=0;
- var token;
- var site;
- var alias;
- $('.infostop:first').prepend('<li><button id="stop" type="button" class="btn btn-danger" style="height:50px;width:80px;">Stop</button></li>');
- $('.infostop:first').prepend('<li><button id="start" type="button" class="btn btn-primary" style="height:50px;width:80px;">Start</button></li>');
- $('#start').click(function(){
- flag=1;
- run();
- });
- $('#stop').click(function(){
- flag=0;
- });
- function run(){
- var interval_obj = setInterval(function(){
- token=$("#user-token").text();
- site=$('.item-site:first').text();
- alias=$('.item-site:first').parent().find(".item-alias").text();
- e=window.open(site+"/"+alias+"/"+token,"botvn","width=50,height=50,top=20000,left=100000,status=0,toolbar=no");
- if(flag===0)
- clearInterval(interval_obj);
- }, 4000);
- }
- });
- Step 4:
- a. Button start and stop will be showed.
- b. Click the start button
- Done.
- !!!!If you can't see the Start/Stop button, do the following:!!!!
- a. Download TamperMonkey addon (similar to the first one) -> http://tampermonkey.net/
- b. Navigate to Adiphy website, click on the TamperMonkey icon and then click on "create new script".
- c. Copy paste the following, save and reload page
- Code:
- // ==UserScript==
- // @name ADIPHY Bot
- // @namespace http://adiphy.com/
- // @version 1.0
- // @description Start and Stop button to bot on Adiphy
- // @author Mariechan
- // @match http://adiphy.com/
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- $(document).ready(function(){
- var flag=0;
- var token;
- var site;
- var alias;
- $('.infostop:first').prepend('<li><button id="stop" type="button" class="btn btn-danger" style="height:50px;width:80px;">Stop</button></li>');
- $('.infostop:first').prepend('<li><button id="start" type="button" class="btn btn-primary" style="height:50px;width:80px;">Start</button></li>');
- $('#start').click(function(){
- flag=1;
- run();
- });
- $('#stop').click(function(){
- flag=0;
- });
- function run(){
- var interval_obj = setInterval(function(){
- token=$("#user-token").text();
- site=$('.item-site:first').text();
- alias=$('.item-site:first').parent().find(".item-alias").text();
- e=window.open(site+"/"+alias+"/"+token,"botvn","width=50,height=50,top=20000,left=100000,status=0,toolbar=no");
- if(flag===0)
- clearInterval(interval_obj);
- }, 4000);
- }
- });
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement