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 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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)