Code Monkey home page Code Monkey logo

imsteam's Introduction

iMSteam

Image Description

Adds pirated alternatives on Steam's website.

Update

Added in Chrome Extension Store

Added Firefox support

Added settings to toggle on/off on sites to show or hide them.

Added Crack Status and GoG Games

Tampermonkey user-script updated to include RuTracker and 1337x (these are only in user-script at the moment).

Features

Searches for the Steam game you're viewing on the web-page on a cracked game. Features 6 sites (Online-fix | FitGirl | Skidrowreloaded | SteamRIP | Dodi Repacks | Gload.to | Gog Games | Crack Status)

Installation

Chrome Extension (Recommended)

Search for "iMSteam" in Chrome's web store or head over to this link

Or manual installation

  1. Download the extension here iMSteam for Chrome
  2. Open Chrome and go to chrome://extensions/.
  3. Enable "Developer mode" in the top right corner.
  4. Click on "Load unpacked" and select the folder containing the extension files.

Firefox Extension (Recommended)

Search for "iMSteam" in Firefox's web store or head over to this link

Or manual installation: iMSteam for Firefox

Installation via Tampermonkey

To install this extension as a userscript using Tampermonkey:

  1. Click on the userscript file (iMSteam.user.js) and copy the entire script.
  2. Open Tampermonkey in your browser.
  3. Click on the Tampermonkey icon and select "Create a new script."
  4. Paste the contents of the userscript into the editor.
  5. Save the script by pressing Ctrl + S or clicking the "File" menu and selecting "Save."

For Opera users you can use Chrome's web store or manual installation.

Usage

Just browse Steam as normal, you'll find the sites right under the game's name, just click the site that suits you. Note: Online-Fix is a Co-Op/Multiplayer only games. You will not find singleplayers on it. Also they mostly support official servers.

Customization

Tampermonkey Script

You can add or remove any site yourself following these simple steps:

  • Edit the script and scroll down to see all sites listed as

    const x1337= `https://1337x.to/sort-category-search/${formattedGameName}/Games/seeders/desc/1/`;
    createButton(x1337, "1337x", "Search on 1337x", "https://i.imgur.com/sNwyKFm.png");
    
  • Either remove this whole section for each site you wanted removed, or add a site yourself with this exact format

  • Copy the search quarry e.g: go to 1337x, do a search, and notice the link includes the word you searched for e.g: https://1337x.to/sort-category-search/THE_WORD_YOU_SEARCHED_FOR/Games/seeders/desc/1/

  • Place the link in the script between and move " ${formattedGameName} " to replace the word you searched for, to be something like this: https://1337x.to/sort-category-search/${formattedGameName}/Games/seeders/desc/1/

  • Add the ID name in lower-case, and the name of the site in lower or upper case. And add a png url. ( IDs must start with a letter, notice why I changed 1337x to "x1337").

  • If the search quarry is at the end of the URL just add " ${formattedGameName} " at the end of it.

  • Save script and refresh steam page.

Donate

imsteam's People

Contributors

imaboud avatar

Stargazers

 avatar  avatar Daivy avatar Alex of House Derp avatar  avatar I5AK avatar qxxst avatar  avatar M Antkowiak avatar  avatar Octavian Regatun avatar  avatar Gwilherm Folliot avatar  avatar  avatar Adrian Johnson avatar  avatar ReeZey avatar /dev/null avatar userx54 avatar  avatar Matei Radu avatar GOΠZO avatar Scutaru Iulian-Tudor avatar Motaz Alnuweiri avatar Zoey! avatar  avatar 12HD avatar  avatar Ridho Perdana avatar  avatar Matthieu Viera Santa Cruz avatar  avatar Polski kotek avatar Isaac avatar Joel Nod avatar Rasmus avatar fyezool avatar Hudson Seiler avatar  avatar  avatar  avatar Timothy E Berdine Jr avatar  avatar KOMETA avatar  avatar  avatar krispy avatar  avatar Carlos Estrella avatar Andris Rio avatar Nils avatar  avatar  avatar  avatar Aliaksei avatar  avatar Mathusalle avatar Ryan avatar  avatar  avatar  avatar  avatar Lucas Ângelo C. da Silva avatar Dmitriy Chmeehoon avatar  avatar Eldar Iusupov avatar  avatar Surehart avatar trq avatar Caleb Brown avatar  avatar Vladislav Petrov avatar  avatar JGalicia avatar  avatar Miguel Lopes avatar Ishaq avatar  avatar Scrimnox avatar StarPanda avatar Vlad avatar Clousry avatar  avatar Ортём avatar  avatar Anindya Tripathi avatar  avatar Jeff Martson avatar  avatar Dima avatar  avatar  avatar supercyan_ avatar  avatar Mahmoud Hosam Gamil avatar Maxim avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar Ângelo Azevedo avatar  avatar Zine Eddine avatar Mahmoud Hosam Gamil avatar  avatar

imsteam's Issues

Maybe this links placement is a little bit better

// ==UserScript==
// @name         Steam Game Search Links
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Add search links for games on Steam pages
// @author       Your Name
// @match        https://store.steampowered.com/*
// @grant        GM_addStyle
// ==/UserScript==

const INSERT_BLOCK_QUERY = "div.block_content div.rightcol div.glance_ctn";
const LINKS_BLOCK_WRAPPER_CLASS = "torrent-links-wrapper";
const LINKS_BLOCK_CLASS = "links";

function initializeContainer() {
    const insertContainerElement = document.querySelector(INSERT_BLOCK_QUERY);

    if (!insertContainerElement) return;

    const linksWrapperBlock = document.createElement("div");
    linksWrapperBlock.setAttribute("class", LINKS_BLOCK_WRAPPER_CLASS);

    linksWrapperBlock.style.display = "flex";
    linksWrapperBlock.style.flexDirection = "column";

    insertContainerElement.appendChild(linksWrapperBlock);

    const linksBlockTitle = document.createElement("div");
    linksBlockTitle.setAttribute("class", "glance_tags_label");
    linksBlockTitle.style.marginBottom = "0.2em";
    linksBlockTitle.style.marginTop = "0.5em";
    linksBlockTitle.innerHTML = "Search this game on Torrent:"

    linksWrapperBlock.appendChild(linksBlockTitle);

    const linksBlock = document.createElement("div");
    linksBlock.setAttribute("class", LINKS_BLOCK_CLASS);

    linksBlock.style.display = "flex";
    linksBlock.style.flexDirection = "row";
    linksBlock.style.gap = "1em";
    linksBlock.style.flexWrap = "wrap";

    linksWrapperBlock.appendChild(linksBlock);
}

(function() {
    'use strict';

    function createButton(searchLink, buttonText, tooltipText, iconPath) {
        //const gameNameElement = document.getElementById("appHubAppName");
        const torrentLinksBlockEntity = document.querySelector(`div.block_content div.rightcol div.glance_ctn .${LINKS_BLOCK_WRAPPER_CLASS} .${LINKS_BLOCK_CLASS}`);
        if (torrentLinksBlockEntity) {
            const linkButton = document.createElement("a");
            linkButton.href = searchLink;
            linkButton.setAttribute("target", "_blank");

            const img = new Image();
            img.src = iconPath;
            img.alt = buttonText;
            //img.style.width = '64px';
            img.style.height = '32px';
            img.style.objectFit = 'contain';

            linkButton.appendChild(img);
            linkButton.title = tooltipText;
            //linkButton.style.marginRight = '10px';
            torrentLinksBlockEntity.appendChild(linkButton);
        }
    }

    initializeContainer();

    const formattedGameName = document.getElementById("appHubAppName").textContent.trim().toLowerCase().replace(/'/g, '').replace(/_/g, ' ');

    const steamDBSearchLink = `https://online-fix.me/index.php?do=search&subaction=search&story=${formattedGameName}`;
    createButton(steamDBSearchLink, "Online Fix", "Search on Online Fix", "https://i.imgur.com/WAXRAUw.png");

    const site1SearchLink = `https://www.skidrowreloaded.com/?s=${formattedGameName}&x=0&y=0`;
    createButton(site1SearchLink, "Skidrow", "Search on Skidrow", "https://i.imgur.com/sfzB2DE.png");

    const site2SearchLink = `https://fitgirl-repacks.site/?s=${formattedGameName}`;
    createButton(site2SearchLink, "FitGirl", "Search on FitGirl", "https://i.imgur.com/GOFbweI.png");

    const newSiteSearchLink = `https://steamrip.com/?s=${formattedGameName}`;
    createButton(newSiteSearchLink, "SteamRIP", "Search on SteamRIP", "https://i.imgur.com/tmvOT86.png");

    const new1SiteSearchLink = `https://dodi-repacks.site/?s=${formattedGameName}`;
    createButton(new1SiteSearchLink, "Dodi", "Search on Dodi", "https://i.imgur.com/g71t1Ge.png");

    const new2SiteSearchLink = `https://gload.to/?s=${formattedGameName}`;
    createButton(new2SiteSearchLink, "Gload", "Search on Gload", "https://gload.to/logo.png");

})();

image_2023-12-28_174403911

Trademark symbol makes titles unsearchable

Browser: Firefox (stable branch)
Example game: Horizon Forbidden West™ Complete Edition
Example repack site: Fitgirl

Expected behavior: "Horizon Forbidden West™ Complete Edition" is turned into "Horizon Forbidden West Complete Edition" (™ Symbol removed) and a successful search is performed on fitgirl website

Actual behavior: "Horizon Forbidden West™ Complete Edition" is searched on fitgirl, there are no results because no human writes symbols like that

Affects most if not all games with that symbol in steam title

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.