Skip to content

Instantly share code, notes, and snippets.

@anadius
Last active February 26, 2020 15:34
Show Gist options
  • Save anadius/70352a8eb21405294e2f47a0f47fd960 to your computer and use it in GitHub Desktop.
Save anadius/70352a8eb21405294e2f47a0f47fd960 to your computer and use it in GitHub Desktop.
CS RIN add missing icons to Steam BBcode generator
// ==UserScript==
// @name CS RIN add missing icons to Steam BBcode generator
// @author anadius
// @match *://cs.rin.ru/forum/*
// @version 1.0.1
// @grant none
// ==/UserScript==
const injection = () => {
SteamInfoBBCode.categoryIcons["PvP"] = "https://i.imgur.com/vt0nOoQ.png";
SteamInfoBBCode.categoryIcons["Online PvP"] = "https://i.imgur.com/vt0nOoQ.png";
SteamInfoBBCode.categoryIcons["Shared/Split Screen PvP"] = "https://i.imgur.com/vt0nOoQ.png";
SteamInfoBBCode.categoryIcons["Shared/Split Screen Co-op"] = "https://i.imgur.com/41S2D4v.png";
SteamInfoBBCode.categoryIcons["Remote Play on TV"] = "https://i.imgur.com/DbIQhls.png";
SteamInfoBBCode.categoryIcons["Remote Play Together"] = "https://i.imgur.com/rAB40Mv.png";
SteamInfoBBCode.categoryIcons["Steam Turn Notifications"] = "https://i.imgur.com/V9mwBuX.png";
SteamInfoBBCode.categoryIcons["SteamVR Collectibles"] = "https://i.imgur.com/fD5Jul9.png";
};
window.setTimeout("(" + injection.toString() + ")()", 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment