Multi Search on Google

Search something multiple times with different values on Google

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name         Multi Search on Google
// @namespace    https://www.youtube.com/channel/UCt7HddEns2mcAoRTyn564Xg
// @version      2.1
// @description  Search something multiple times with different values on Google
// @author       Jakegeyer27 & Kelts360
// @match        *://www.google.com.au/*
// @grant        window.close
// ==/UserScript==

//variables
var searchbox = document.getElementById("lst-ib");
var variables = [];
var amount = null;
var num = 0;
var search = null;

function1();

function function1() {
    if (searchbox.value.includes("??")) {
        var variables = prompt("Enter variables seperated by a comma","1, 2, 3").split(", ");
        var amount = variables.length;
        window.close();
        for (num = 0; num < amount; num++) {
            var search = searchbox.value.replace("??", variables[num]);
            window.open('https://www.google.com.au/?#q=' + search);
} relay();
} else {
    relay();
}
}

//Stops the script re-running once completed
function relay() {
    relay();
}