您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Steam advance Downloads links in store to search and download for free ;)
当前为
// ==UserScript== // @name Steam advance Downloads links in store // @namespace Wizzergod // @description Steam advance Downloads links in store to search and download for free ;) // @version 3.1.3 // @license MIT // @match *://store.steampowered.*/app/* // @exclude *://steamcommunity.*/* // @match *://www.gog.com/*/game/* // @match *://store.steampowered.*/* // @match *://*.steampowered.*/* // @exclude *://*.steampowered.com/bundle/* // @icon https://bit.ly/3Jj2YMu // @grant GM_addStyle // @credits Wizzergod // ==/UserScript== (function() { 'use strict'; GM_addStyle(` .custom_btn_addtocart { display: grid; margin: 1px; } .custom_btn_green_steamui { background-color: #5c7e10; color: white; text-decoration: uppercase; padding: 10px 20px; border-radius: 3px; box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4); display: block ruby; align-items: center; justify-content: center; margin: 1px; transition: background 0.3s; } .custom_btn_green_steamui:hover { background-color: #4b670d; filter: blur(0.5px) brightness(0.7); z-index: 0; } .custom_btnv6_lightblue_blue { background-color: #417a9b; color: white; text-decoration: uppercase; padding: 10px 20px; border-radius: 3px; box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4); display: block ruby; } .custom_btnv6_lightblue_blue:hover { background-color: #35637a; filter: blur(0.5px) brightness(0.7); z-index: 0; } .custom_btn_blue_steamui { background-color: #1b2838; color: white; text-decoration: uppercase; padding: 10px 20px; border-radius: 3px; box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4); display: block ruby; transition: background 0.3s; } .custom_btn_blue_steamui:hover { background-color: #16202d; filter: blur(0.5px) brightness(0.7); z-index: 0; } .custom_btnv6_blue_hoverfade { background-color: #176aa6; color: white; text-decoration: uppercase; padding: 10px 20px; border-radius: 3px; box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4); display: block ruby; transition: background 0.3s; } .custom_btnv6_blue_hoverfade:hover { background-color: #0f4a73; filter: blur(0.5px) brightness(0.7); z-index: 0; } .custom_game_purchase_discount_countdown { font-size: 14px; color: #d6d7d8; } .custom_game_purchase_action { top: 110px; bottom: 110px; } .custom_game_area_purchase_game, .custom_game_area_purchase_game { font-size: 10px !important; } .custom_game_purchase_action_bg { margin: 5px 0 10px 0; } .custom_demoGameBtn { display: block; justify-content: center; align-items: center; flex: 1; font-size: 13px !important; } .custom_demoGameBtn a { margin: 0px; text-shadow: 1px 1px 2px #000000aa; text-transform: uppercase; font-weight: 300; } .pcgamewiki { background-color: #556db3; color: white; text-decoration: uppercase; padding: 10px 20px; border-radius: 3px; box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4); display: block ruby; transition: background 0.3s; } .pcgamewiki:hover { background-color: #495e9b; filter: blur(0.5px) brightness(0.7); z-index: 0; } .Ccyan { background-color: #008669; color: white; text-decoration: uppercase; padding: 10px 20px; border-radius: 3px; box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4); display: block ruby; transition: background 0.3s; } .Ccyan:hover { background-color: #008064; filter: blur(0.5px) brightness(0.7); z-index: 0; } .Corange { background-color: #e68a00 !important; color: white; text-decoration: uppercase; padding: 10px 20px; border-radius: 3px; box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4); display: block ruby; transition: background 0.3s; } .Corange:hover { background-color: #c87801 !important; filter: blur(0.5px) brightness(0.7); z-index: 0; } .Cdarkorange { background-color: #d84a00; color: white; text-decoration: uppercase; padding: 10px 20px; border-radius: 3px; box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4); display: block ruby; transition: background 0.3s; } .Cdarkorange:hover { background-color: #c44706; filter: blur(0.5px) brightness(0.7); z-index: 0; } .Cgog { background-color: rgb(109, 11, 171); /* background-color: #591a94; */ color: white; text-decoration: uppercase; padding: 10px 20px; border-radius: 3px; box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4); display: block ruby; transition: background 0.3s; } .Cgog:hover { background-color: rgba(109, 11, 171, 0.64); /* background-color: #54198b; */ /* transform: scale(0.98); */ filter: blur(0.5px) brightness(0.7); z-index: 0; } `); function createGameLink(url, label, className) { var linkContainer = document.createElement('div'); linkContainer.className = 'custom_demoGameBtn custom_btn_addtocart'; var link = document.createElement('a'); link.target = '_blank'; link.className = className; link.href = url; link.rel = 'noopener noreferrer'; var linkText = document.createElement('span'); linkText.textContent = label; link.appendChild(linkText); linkContainer.appendChild(link); return linkContainer; } var gameTitle = document.createElement('h1'); gameTitle.textContent = 'Free download from torrents.'; var discountCountdown = document.createElement('p'); discountCountdown.textContent = 'These links lead to the search feature on specified websites, and remember piracy is bad if you downloaded, played and liked the game, then buy it, so you will thank the developers!'; var gamePurchaseAction = document.createElement('div'); gamePurchaseAction.className = 'custom_game_purchase_action'; var gamePurchaseActionBg = document.createElement('div'); gamePurchaseActionBg.className = 'custom_game_purchase_action_bg'; var titleElement = document.querySelector('#appHubAppName .apphub_AppName, span[itemprop="name"]'); var gameTitleText = titleElement ? titleElement.textContent.trim() : ''; //gameappid var appidElement = document.querySelector('[data-appid]'); var gameappid = appidElement ? appidElement.getAttribute('data-appid') : ''; //or var gsidElement = document.querySelector('[data-miniprofile-appid]'); var gsid = gsidElement ? gsidElement.getAttribute('data-miniprofile-appid') : ''; if (!gsid) { gsidElement = document.querySelector('[data-appid]'); gsid = gsidElement ? gsidElement.getAttribute('data-appid') : ''; } //gameappid var links = [ { url: 'https://rutracker.org/forum/tracker.php?nm=' + encodeURIComponent(gameTitleText), label: 'rutracker', className: 'custom_btn_green_steamui' }, { url: 'https://thelastgame.club/?do=search&subaction=search&story=' + encodeURIComponent(gameTitleText), label: 'thelastgame.(club)', className: 'custom_btn_green_steamui' }, { url: 'https://thelastgame.ru/?s=' + encodeURIComponent(gameTitleText), label: 'thelastgame.(ru)', className: 'custom_btn_green_steamui' }, { url: 'https://thelastgame.org/?do=search&subaction=search&story=' + encodeURIComponent(gameTitleText), label: 'thelastgame.org', className: 'custom_btn_green_steamui' }, { url: 'https://www.limetorrents.lol/search/games/' + encodeURIComponent(gameTitleText), label: 'limetorrents', className: 'custom_btn_green_steamui' }, { url: 'https://1337x.to/search/' + encodeURIComponent(gameTitleText) + '/1/', label: '1337x', className: 'custom_btn_green_steamui' }, { url: 'https://thepiratebay.org/search.php?cat=401&q=' + encodeURIComponent(gameTitleText), label: 'thepiratebay', className: 'custom_btn_green_steamui' }, { url: 'https://igrovaya.org/?do=search&subaction=search&story=' + encodeURIComponent(gameTitleText), label: 'igrovaya', className: 'custom_btn_green_steamui' }, { url: 'https://www.torrentdownloads.pro/search/?search=' + encodeURIComponent(gameTitleText), label: 'torrentdownloads.(pro)', className: 'custom_btn_green_steamui' }, { url: 'https://www.torrentdownload.info/search?q=' + encodeURIComponent(gameTitleText), label: 'torrentdownload.(info)', className: 'custom_btn_green_steamui' }, { url: 'https://catorrent.org/index.php?do=search&subaction=search&story=' + encodeURIComponent(gameTitleText), label: 'catorrent', className: 'custom_btn_green_steamui' }, { url: 'https://repack-games.ru/index.php?do=search&subaction=search&story=' + encodeURIComponent(gameTitleText), label: 'repack-games', className: 'custom_btn_green_steamui' }, { url: 'https://gamestracker.org/search/?q=' + encodeURIComponent(gameTitleText), label: 'gamestracker', className: 'custom_btn_green_steamui' }, { url: 'https://nnmclub.to/forum/tracker.php?nm=' + encodeURIComponent(gameTitleText), label: 'nnmclub', className: 'custom_btn_green_steamui' }, { url: 'https://thebyrut.org/?do=search&subaction=search&story=' + encodeURIComponent(gameTitleText), label: 'byrut', className: 'custom_btn_green_steamui' }, { url: 'https://pcgamestorrents.com/?s=' + encodeURIComponent(gameTitleText), label: 'pcgamestorrents.(com)', className: 'custom_btn_green_steamui' }, { url: 'https://hisgames.org/search?searchphrase=all&searchword=' + encodeURIComponent(gameTitleText), label: 'hisgames', className: 'custom_btn_green_steamui' }, { url: 'https://freegogpcgames.com/?s=' + encodeURIComponent(gameTitleText), label: 'Gog:freegogpcgames', className: 'Cgog' }, { url: 'https://gogunlocked.com/?s=' + encodeURIComponent(gameTitleText), label: 'Gog:gogunlocked', className: 'Cgog' }, { url: 'https://gog-games.to/search/' + encodeURIComponent(gameTitleText), label: 'Gog:gog-games', className: 'Cgog' }, //{ url: 'https://gog-games.to/search/' + encodeURIComponent(gameTitleText), label: 'Gog:gog-games', className: 'custom_btn_blue_steamui' }, { url: 'https://small-games.info/?go=search&search_text=' + encodeURIComponent(gameTitleText), label: 'small-games.(info)', className: 'custom_btnv6_lightblue_blue' }, { url: 'https://www.old-games.ru/catalog/?gamename=' + encodeURIComponent(gameTitleText), label: 'old-games', className: 'custom_btnv6_lightblue_blue' }, { url: 'https://www.pcgamingwiki.com/api/appid.php?appid=' + encodeURIComponent(gameappid), label: 'PCGamingWiki', className: 'pcgamewiki' }, { url: 'https://f95zone.to/search/search?keywords=' + encodeURIComponent(gameTitleText), label: 'Forum: f95zone', className: 'custom_btnv6_blue_hoverfade' }, { url: 'https://cs.rin.ru/forum//search.php?st=0&sk=t&sd=d&sr=topics&terms=any&sf=titleonly&keywords=' + encodeURIComponent(gameTitleText), label: 'cs.(rin)', className: 'custom_btnv6_blue_hoverfade' }, { url: 'https://www.gogdb.org/products?search=' + encodeURIComponent(gameTitleText), label: 'View on GogDB', className: 'custom_btnv6_blue_hoverfade' }, { url: 'https://steamdb.info/app/' + encodeURIComponent(gameappid), label: 'STEAMDB', className: 'custom_btnv6_blue_hoverfade' } ]; var row = document.createElement('div'); row.style.display = 'flex'; row.style.flexWrap = 'wrap'; links.forEach(function(linkInfo) { var link = createGameLink(linkInfo.url, linkInfo.label, linkInfo.className); row.appendChild(link); }); var gameLinksDiv = document.createElement('div'); gameLinksDiv.className = 'custom_game_area_purchase_game'; gamePurchaseActionBg.appendChild(row); gamePurchaseAction.appendChild(gamePurchaseActionBg); gameLinksDiv.appendChild(gameTitle); gameLinksDiv.appendChild(discountCountdown); gameLinksDiv.appendChild(gamePurchaseAction); var targetElement = document.querySelector('.game_area_purchase'); if (targetElement) { targetElement.parentNode.insertBefore(gameLinksDiv, targetElement); } var elements = document.getElementsByClassName('early_access_header'); Array.from(elements).forEach(function(element) { element.parentNode.removeChild(element); }); })();