Skip to content

Instantly share code, notes, and snippets.

@MalikAQayum
MalikAQayum / 2K.json
Last active March 19, 2021 00:33
15/03-2021
View 2K.json
[
3960,
8800,
8930,
8970,
8890,
16861,
16870,
65980,
209811,
@MalikAQayum
MalikAQayum / pcgameitplaytest.user.js
Last active February 3, 2022 20:38
gets the latest playtest from https://steamcommunity.com/groups/pcgameitplaytest/rss/ and request access to it.
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 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 / SetCountryCode.js
Last active July 8, 2020 13:00
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 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>
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 November 20, 2019 18:38 — 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 });
@MalikAQayum
MalikAQayum / spamcuratorreviews.js
Last active October 31, 2019 15:56
be smart when you do this and do it in batches if you want to avoid temp ip bans from valve.
View spamcuratorreviews.js
/**
https://store.steampowered.com/curator/<curatorid>/admin/review_create/
be smart when you do this and do it in batches if you want to avoid temp ip bans from valve.
*/
var appid_arr =[]; // example: appid_arr = [10, 240, 440, 570, 730];
for (var i = 0; i < appid_arr.length; i++) {
$J.post("https://store.steampowered.com/curator/9628392-GreenDB/admin/ajaxcreatereview/", {
appid: appid_arr[i],
@MalikAQayum
MalikAQayum / mjsonr.user.js
Last active December 7, 2020 11:21
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==