Navegación Aleatoria

Navega aleatoriamente por la web

当前为 2024-03-31 提交的版本,查看 最新版本

// ==UserScript==
// @name         Navegación Aleatoria
// @namespace    http://tampermonkey.net/
// @version      0.5
// @description  Navega aleatoriamente por la web
// @author       Hector Luces
// @match        *://*/*
// @license MIT
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Lista de sitios web para navegar aleatoriamente
    var sitiosWeb = [
"https://google.com",
"https://facebook.com",
"https://youtube.com",
"https://baidu.com",
"https://yahoo.com",
"https://amazon.com",
"https://wikipedia.org",
"https://qq.com",
"https://twitter.com",
"https://slashdot.org",
"https://google.co.in",
"https://taobao.com",
"https://live.com",
"https://sina.com.cn",
"https://yahoo.co.jp",
"https://linkedin.com",
"https://weibo.com",
"https://ebay.com",
"https://google.co.jp",
"https://yandex.ru",
"https://bing.com",
"https://vk.com",
"https://hao123.com",
"https://google.de",
"https://instagram.com",
"https://t.co",
"https://msn.com",
"https://amazon.co.jp",
"https://tmall.com",
"https://google.co.uk",
"https://pinterest.com",
"https://ask.com",
"https://reddit.com",
"https://wordpress.com",
"https://mail.ru",
"https://google.fr",
"https://blogspot.com",
"https://paypal.com",
"https://onclickads.net",
"https://google.com.br",
"https://tumblr.com",
"https://apple.com",
"https://google.ru",
"https://aliexpress.com",
"https://sohu.com",
"https://microsoft.com",
"https://imgur.com",
"https://google.it",
"https://imdb.com",
"https://google.es",
"https://netflix.com",
"https://gmw.cn",
"https://amazon.de",
"https://fc2.com",
"https://360.cn",
"https://alibaba.com",
"https://go.com",
"https://stackoverflow.com",
"https://ok.ru",
"https://google.com.mx",
"https://google.ca",
"https://amazon.in",
"https://google.com.hk",
"https://tianya.cn",
"https://amazon.co.uk",
"https://craigslist.org",
"https://pornhub.com",
"https://rakuten.co.jp",
"https://naver.com",
"https://blogger.com",
"https://diply.com",
"https://google.com.tr",
"https://xhamster.com",
"https://flipkart.com",
"https://espn.go.com",
"https://soso.com",
"https://outbrain.com",
"https://nicovideo.jp",
"https://google.co.id",
"https://cnn.com",
"https://xinhuanet.com",
"https://dropbox.com",
"https://google.co.kr",
"https://googleusercontent.com",
"https://github.com",
"https://bongacams.com",
"https://ebay.de",
"https://kat.cr",
"https://bbc.co.uk",
"https://google.pl",
"https://google.com.au",
"https://pixnet.net",
"https://tradeadexchange.com",
"https://popads.net",
"https://googleadservices.com",
"https://ebay.co.uk",
"https://dailymotion.com",
"https://sogou.com",
"https://adnetworkperformance.com",
"https://adobe.com",
"https://directrev.com",
"https://nytimes.com",
"https://jd.com",
"https://wikia.com",
"https://adcash.com",
"https://livedoor.jp",
"https://booking.com",
"https://163.com",
"https://bbc.com",
"https://alipay.com",
"https://coccoc.com",
"https://dailymail.co.uk",
"https://indiatimes.com",
"https://china.com",
"https://dmm.co.jp",
"https://china.com.cn",
"https://chase.com",
        // Agrega más sitios web aquí
    ];

    // Función para obtener un sitio web aleatorio
    function obtenerSitioAleatorio() {
        return sitiosWeb[Math.floor(Math.random() * sitiosWeb.length)];
    }

    // Función para redireccionar a un sitio web aleatorio
    function navegarAleatoriamente() {
        var sitioAleatorio = obtenerSitioAleatorio();
        console.log("Navegando a: " + sitioAleatorio);
        window.location.href = sitioAleatorio;
    }

    // Redireccionar a un sitio web aleatorio después de un tiempo aleatorio
    var tiempoEspera = Math.floor(Math.random() * (30000 - 10000)) + 10000; // Entre 10 y 30 segundos
    console.log("Esperando " + (tiempoEspera / 1000) + " segundos antes de la próxima navegación...");
    setTimeout(navegarAleatoriamente, tiempoEspera);


})();