GGn Group Quick Search

Buttons to search torrents and log

// ==UserScript==
// @name         GGn Group Quick Search
// @version      3
// @description  Buttons to search torrents and log
// @author       ingts
// @match        https://gazellegames.net/torrents.php?id=*
// @grant        GM_openInTab
// @grant        GM_getValue
// @grant        GM_setValue
// @require      https://update.gf.qytechs.cn/scripts/541342/GGn%20Corner%20Button.js
// @namespace https://gf.qytechs.cn/users/1141417
// ==/UserScript==
const title = document.getElementById('user_script_data').dataset.groupName

createCornerButton('left-vertical', 'Torrents', () => {
    GM_openInTab(`https://gazellegames.net/torrents.php?action=advanced&groupname=${title}`, {active: true})
})

createCornerButton('left-vertical', 'Log', e => {
    const b = "https://gazellegames.net/log.php?search="
    if (e.shiftKey) {
        GM_openInTab(`${b}Torrent Group ${/\d+/.exec(location.href)[0]}`, {active: true})
        return
    }
    GM_openInTab(`${b}${title}`, {active: true})
})

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址