0% found this document useful (0 votes)
68 views1 page

Adviev Hack Script

This userscript automates viewing ads and claiming earnings on the Adviev website. It searches the page for the button to view an ad video, grabs the video code, enters it into the verification field and confirms every 10 seconds to continuously view ads and earn money without manual intervention. The script was created by Dotun Showunmi to run on Adviev pages containing "bapads".
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views1 page

Adviev Hack Script

This userscript automates viewing ads and claiming earnings on the Adviev website. It searches the page for the button to view an ad video, grabs the video code, enters it into the verification field and confirms every 10 seconds to continuously view ads and earn money without manual intervention. The script was created by Dotun Showunmi to run on Adviev pages containing "bapads".
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

// ==UserScript==

// @name Adviev Automated


// @namespace http://tampermonkey.net/
// @version 0.1
// @description Automatically view adds, grab the video code and claim earnings
// @author Dotun Showunmi (dotsonshow)
// @match https://adviev.com/bapads/*
// @icon http://adviev.com/img/logo.png
// @grant none
// ==/UserScript==

(function() {
'use strict';

setInterval(function() {
if
(window.location.href.includes('https://adviev.com/bapads/paidcounter/')){
setTimeout(function() {
window.close();
}, 20000);
}
let earnBtn = document.querySelector('div.bap-ads-content.bannhgt.surf_box0
> div > a')

if (earnBtn == null || earnBtn == "undefined") {


console.log('its ptc not video')
document.querySelector('div.bap-ads-content.bannhgt > div > a').click()
}
let divInputVideoId = document.querySelector('div.bap-ads-
content.bannhgt.unik_key_box0.ptcvsurf1')
let videoIdField = document.querySelector('#u_key0')
let confrmBtn = document.querySelector('div.bap-ads-
content.bannhgt.unik_key_box0.ptcvsurf1 > input')
let videoId = earnBtn.getAttribute('onclick').split(',')[4].slice(1, 5)

divInputVideoId.style.display = 'flex'
videoIdField.value = videoId

confrmBtn.click()
}, 10000)
})();

You might also like