Skip to content

Instantly share code, notes, and snippets.

@kangoka
Last active February 4, 2024 21:42
Show Gist options
  • Save kangoka/0aaf60a8c6b86fe1719c7a07baafb823 to your computer and use it in GitHub Desktop.
Save kangoka/0aaf60a8c6b86fe1719c7a07baafb823 to your computer and use it in GitHub Desktop.
Tik Tok Autoviews
// ==UserScript==
// @name TTAV
// @namespace https://github.com/kangoka/tiktok-autoviews
// @version 0.1
// @description Educational Purpose (they said)
// @author kangoka
// @include https://fireliker.com/*
// @include https://lputorrents.xyz/*
// @match https://bugsliker.me/index.php?info=Session_Expired
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @grant GM_addStyle
// @grant none
// ==/UserScript==
if (document.getElementsByClassName("form-control fireliker-style-text-mono text-warning").length > 0) {
$('input[placeholder="Username"]').val('YOUR_USERNAME'); //Change YOUR_USERNAME with your username
setTimeout(function () {
lp();
}, 2000);
} else {
welcome();
}
welcome();
function welcome() {
if (document.getElementsByClassName("fa fa-play-circle").length > 0) {
document.getElementsByClassName("fa fa-play-circle")[0].click();
}
}
setTimeout(lp, 13000);
function lp() {
window.location.href = 'https://fireliker.com/autoViews.php';
}
setTimeout(changeValue, 2000);
function changeValue() {
/*
You can change value below to number you want
value=1 : 200 views
value=2 : 400 views
value=3 : 600 views
value=4 : 800 views
value=5 : 1000 views
*/
waitForKeyElements(".form-control:has(option[value=2])", selectFinickyDropdown);
function selectFinickyDropdown(jNode) {
var evt = new Event("click");
jNode[0].dispatchEvent(evt);
jNode.val('5');
evt = new Event("change");
jNode[0].dispatchEvent(evt);
}
}
setTimeout(sendViews, 2000);
function sendViews() {
if (document.getElementsByClassName("btn btn-warning").length > 0) {
document.getElementsByClassName("btn btn-warning")[0].click();
}
}
setTimeout(makeSure, 30000);
//Sometimes the website didn't load correctly, so to avoid that, I create this function
function makeSure(){
window.location.href = 'https://fireliker.com/welcome.php';
}
if (window.location.href == 'https://bugsliker.me/index.php?info=Session_Expired'){
window.location.href = 'https://fireliker.com/welcome.php';
}
@JosuaSitorusP
Copy link

thanks a

@kangoka
Copy link
Author

kangoka commented Aug 21, 2020

Sama sama a

@MeterCraft
Copy link

MeterCraft commented May 2, 2023

dosn´t work anymore Here andHere
are proof

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment