Nucleo Robot TprenD

TprenD likea todos los shouts del canal Global (v6)

目前為 2019-02-02 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name Nucleo Robot TprenD
// @namespace TprenD - Robot programado para amar sin condiciones
// @version 1.1
// @description TprenD likea todos los shouts del canal Global (v6)
// @author by @kchamat 
// @match   https://classic.taringa.net/TprendMod*
// @exclude https://classic.taringa.net/*/siguiendo/*
// @grant none
// ==/UserScript==

(function() {
    'use strict';
var segundos=150;
    window.stop();
// ==UserScript==
// @name         prueba
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://classic.taringa.net/TprendMod/*
// @include      https://classic.taringa.net/TprendMod*
// @grant        none
// ==/UserScript==
(function() {
    'use strict';
function getParameterByName(name) {
    name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
    var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
    results = regex.exec(location.search);
    return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}
var nro_page = parseInt(getParameterByName('pagina'))+1;
if (isNaN(nro_page)){
    nro_page=0;
    }
if (nro_page>80){
    nro_page=0;
    }

    // funcion redirigir a tal url en 10 segundos
    function redirigir_a_en(url,seg) {
		var a = document.createElement("a");
		a.href = url;
        setTimeout(function() {
            a.click();
        }, seg*1000);

	}
var url='https://classic.taringa.net/TprendMod?pagina='+nro_page;
redirigir_a_en(url,segundos);

    $.getJSON("https://api.taringa.net/shout/public/view", function(data) {
    $.each(data, function(i, item) {
        var id = item.id;
        var owner = item.owner.id;
        $.ajax({
            url: '/ajax/shout/vote',
            type: 'post',
            dataType: 'json',
            data: {
                owner: owner,
                uuid: id,
                score: 1
            },
        });
    });
});
    //Seguir usuarios desde nro_page
var urlapi="https://api.taringa.net/user/followers/view/29024560?trim_user=true&count=30&page="+nro_page;
//alert(urlapi);
    $.getJSON("https://api.taringa.net/user/followers/view/29024560?trim_user=true&count=30&page="+nro_page, function(data) {
        $.each(data, function(nro_item2,user2) {
        var id =  user2;
                        notifica.ajax(Array("action=follow","type=user","obj=" + id),null,null,true,false);
                });
    });
new Audio('https://www.soundjay.com/button/sounds/button-44.mp3').play();
function abrirEnPestana(url) {
		var a = document.createElement("a");
		a.target = "_al_lado";
		a.href = url;
		a.click();
	}
var nedge='https://classic.taringa.net/TprendMod/siguiendo/'+Math.floor((Math.random() * 20));
abrirEnPestana(nedge);
	})();
})();