[snolab] batch-search

Batch search from multi sourcees.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==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));