[snolab] batch-search

Batch search from multi sourcees.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name         [snolab] batch-search
// @name:zh      [雪星实验室] 批量搜索
// @namespace    https://userscript.snomiao.com/
// @version      0.0.1
// @description  Batch search from multi sourcees.
// @author       [email protected]
// @match        http*://*
// @grant        none
// ==/UserScript==

const engines = {
  Page: {
    Google: "https://www.google.com/search?q=%s",
    LuckyGoogle: "https://www.google.com/search?btnI&q=%*",
    Magi: "https://magi.com/search?q=%s",
  },
  Knowledge: {
    Magi: "https://magi.com/search?q=%s",
    Google: "https://www.google.com/search?q=%s",
    Wiki: "https://www.google.com/search?q=%s",
    FreeMDict: "https://forum.freemdict.com/search?q=%s",
    FreeMDict: "https://forum.freemdict.com/search?q=%s",
  },
  Book: {
    Book4you: "https://book4you.org/s/%*",
    douban: "https://search.douban.com/book/subject_search?search_text=%*",
  },
  Torrent: { 1337: "https://www.1377x.to/search/%*/1/" },
  Movie: {},
  Video: {},
  Music: {},
  Model: { Google: "https://www.google.com/search?q=%s" },
  Image: {},
};
const enginess = JSON.parse(JSON.stringify(engines).replace(/%s|%\*/g, s));