PW Rewarded Ad Automation

Automatically run reward ads in PW lol

  1. // ==UserScript==
  2. // @name PW Rewarded Ad Automation
  3. // @version 1.0
  4. // @namespace https://greasyfork.org/users/60012
  5. // @description Automatically run reward ads in PW lol
  6. // @author Yosodog
  7. // @match https://politicsandwar.com/rewarded-ads/
  8. // @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. function runAd() {
  16. if($("#btnAds").css('display') != 'none') {
  17. $("#btnAds").click()
  18. }
  19. }
  20.  
  21. var intervalId = window.setInterval(function(){
  22. runAd();
  23. }, 1000);
  24. })();