Advertisement
Guest User

Phosforea

a guest
Jan 24th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Phosforea
  3. // @namespace    http://tampermonkey.net/
  4. // @version      0.1
  5. // @description  try to take over the world!
  6. // @author       You
  7. // @match        https://www.phosforea.com/*
  8. // @grant        none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12.     'use strict';
  13.  
  14.     setInterval(function() {
  15.         var playButton = document.querySelector('#content > div > nav > div.hbox.left > div.component_container.std.play > button');
  16.  
  17.         if (playButton != null) {
  18.             console.log('Click next !');
  19.             var nextButton = document.querySelector('#content > div > nav > div.hbox.right > div.component_container.next > button');
  20.             nextButton.click();
  21.         }
  22.     }, 1000);
  23. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement