Steam Game Page - Add links to clean DL sites, not-commented gameplay videos & DEIdetected search.

Let's you easily search the games on clean DL sites, watch non-annoying gameplays and see if the game is woke-oriented.

当前为 2024-10-25 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Steam Game Page - Add links to clean DL sites, not-commented gameplay videos & DEIdetected search.
// @namespace    masterofobzene
// @version      1.9
// @description  Let's you easily search the games on clean DL sites, watch non-annoying gameplays and see if the game is woke-oriented.
// @author       masterofobzene
// @match        http://store.steampowered.com/app/*
// @match        https://store.steampowered.com/app/*
// @grant        none
// @license MIT
// ==/UserScript==

const gameName = document.querySelector('.apphub_AppName').textContent.trim()

const breadcrumbsContainer = document.querySelector('.breadcrumbs')

breadcrumbsContainer.setAttribute('style', `
display: flex;
justify-content: space-around;
`)

const metaLinksContainer = document.createElement('div')
metaLinksContainer.setAttribute('style', `
display: flex;
justify-content: space-around;
width: 420px;
`)

const gogSearchLink = document.createElement('a')
gogSearchLink.href = 'https://gog-games.to/?q=' + gameName
gogSearchLink.textContent = 'gog-games.to'
gogSearchLink.setAttribute('target', '_blank')


const csrinSearchLink = document.createElement('a')
csrinSearchLink.href = 'https://cs.rin.ru/forum/search.php?keywords='+ gameName + '&terms=any&author=&sc=1&sf=titleonly&sk=t&sd=d&sr=topics&st=0&ch=300&t=0&submit=Search'
csrinSearchLink.textContent = 'cs.rin.ru'
csrinSearchLink.setAttribute('target', '_blank')

const steamripSearchLink = document.createElement('a')
steamripSearchLink.href = 'https://steamrip.com/?s=' + gameName
steamripSearchLink.textContent = 'SteamRip'
steamripSearchLink.setAttribute('target', '_blank')

const fitgirlSearchLink = document.createElement('a')
fitgirlSearchLink.href = 'https://fitgirl-repacks.site/?s=' + gameName
fitgirlSearchLink.textContent = 'fitgirl'
fitgirlSearchLink.setAttribute('target', '_blank')

const deidetectedSearchLink = document.createElement('a')
deidetectedSearchLink.href = 'https://deidetected.com/games?search=' + gameName
deidetectedSearchLink.textContent = 'DEIdetected.com'
deidetectedSearchLink.setAttribute('target', '_blank')

const ytGameplaySearchLink = document.createElement('a')
ytGameplaySearchLink.href = 'https://www.youtube.com/results?search_query=' + encodeURIComponent(gameName) + ' gameplay no commentary'
ytGameplaySearchLink.textContent = 'Gameplay Vid'
ytGameplaySearchLink.setAttribute('target', '_blank')


metaLinksContainer.appendChild(gogSearchLink)
metaLinksContainer.appendChild(csrinSearchLink)
metaLinksContainer.appendChild(steamripSearchLink)
metaLinksContainer.appendChild(fitgirlSearchLink)
metaLinksContainer.appendChild(deidetectedSearchLink)
metaLinksContainer.appendChild(ytGameplaySearchLink)

breadcrumbsContainer.appendChild(metaLinksContainer)