Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Phosforea
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description try to take over the world!
- // @author You
- // @match https://www.phosforea.com/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- setInterval(function() {
- var playButton = document.querySelector('#content > div > nav > div.hbox.left > div.component_container.std.play > button');
- if (playButton != null) {
- console.log('Click next !');
- var nextButton = document.querySelector('#content > div > nav > div.hbox.right > div.component_container.next > button');
- nextButton.click();
- }
- }, 1000);
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement