Skip to content

Instantly share code, notes, and snippets.

View pcgameitplaytest.user.js
// ==UserScript==
// @name PCGameit Playtests
// @namespace https://pcgameit.com
// @version 0.3
// @description gets the latest playtest from https://steamcommunity.com/groups/pcgameitplaytest/rss/ and request access to it.
// @author MalikQayum
// @connect store.steampowered.com
// @connect steamcommunity.com
// @match https://store.steampowered.com/*
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js
View bethesda.html
<!DOCTYPE html>
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="https://steamcommunity.com/favicon.ico">
<title>bethesda Apps</title>
@MalikAQayum
MalikAQayum / ProfileLinker.user.js
Last active Jun 11, 2021
Adds clickable icon links to external sites (steam-tracker.com, removed.timekillerz.eu, astats.nl, steamrep.com, barter.vg, backpack.tf, steamtrades, steamgifts)
View ProfileLinker.user.js
// ==UserScript==
// @name Profile Linker
// @namespace https://gist.github.com/MalikAQayum/11ae7ba9b7741eb9d01af883dadedca4
// @version 1.19
// @description Adds clickable icons to external sites in the "profile_rightcol".
// @author MalikQayum
// @include /^https?:\/\/steamcommunity\.com[/]+(id|profiles)[/]+[^/]+(\/|)$/
// @downloadURL https://gist.github.com/MalikAQayum/11ae7ba9b7741eb9d01af883dadedca4/raw/ProfileLinker.user.js
// @updateURL https://gist.github.com/MalikAQayum/11ae7ba9b7741eb9d01af883dadedca4/raw/ProfileLinker.user.js
// @grant none
View 2K.json
[
3960,
8800,
8930,
8970,
8890,
16861,
16870,
65980,
209811,
View steam_commands
-480p - Run tenfoot in 480p rather than 1080p
-720p - Run tenfoot in 720p rather than 1080p
-accesscode -
-all_languages - show longest loc string from any language
-auto-browser-auth -
-bigpicture - Start in Steam Big Picture mode
-blefw -
-cafeapplaunch - Launch apps in a cyber cafe context
-candidates - Show libjingle candidates for local connection as they are processed
-ccsyntax - Spew details about the localized strings we load
@MalikAQayum
MalikAQayum / mjsonr.user.js
Last active Dec 7, 2020
just something to make easier to read the json on steam pages.
View mjsonr.user.js
// ==UserScript==
// @name Make JSON readable.
// @namespace https://gist.github.com/MalikQayum
// @version 0.1
// @description just something to make easier to read the json on steam pages.
// @author MalikQayum
// @include /^https?://(store.steampowered|steamcommunity|partner.steam-api|partner.steamgames|(partner|api).steampowered).com/*/
// @include /^https?://(steamcdn-a.akamaihd).net/*/
// @grant none
// ==/UserScript==
@MalikAQayum
MalikAQayum / SetCountryCode.js
Last active Jul 8, 2020
fix to set your steam country code / flag back to none.
View SetCountryCode.js
/* setting your country code / country flag back to none.
go to: https://steamcommunity.com/my/edit/
open console (chrome f12)
paste the below request.
*/
$J.post( "https://steamcommunity.com/profiles/"+g_rgProfileData.steamid+"/edit/", {
sessionID: g_sessionID,
type: "profileSave",
weblink_1_title: "",
View SetFavoriteBadge.js
/* Setting the Favorite / Featured Badge back to none.
* go to: https://store.steampowered.com/points/shop or https://steamcommunity.com/my/edit/info
* open dev tools (chrome press f12)
* paste the below code snippet.
*/
var access_token = "";
var badgeid = 0;
if (window.location.href.indexOf("steampowered") > -1) {
View steamnews.php
<?php
/*create variables*/
$title ="";
$link ="";
$description = "";
$pubDate ="";
/*Store RSS feed address in new variable*/
$url = "http://store.steampowered.com/feeds/news.xml";
/*Retrieve BLOG XML and store it in PHP object*/
$xml = simplexml_load_file($url);
@MalikAQayum
MalikAQayum / index.js
Created Nov 20, 2019 — forked from Jimbly/index.js
Steam CD Key Batch query
View index.js
/* jshint esversion: 6*/
const assert = require('assert');
const async = require('async');
const fs = require('fs');
let request = require('request');
const FileCookieStore = require('tough-cookie-filestore');
if (!fs.existsSync('cookies.json')) { fs.writeFileSync('cookies.json', '{}'); }
let j = request.jar(new FileCookieStore('cookies.json'));
request = request.defaults({ jar : j });