Skip to content

Instantly share code, notes, and snippets.

<?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
/* 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.
/**
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],
https://store.steampowered.com/events/ajaxgetbatchedpartnerevent/?announcement_gids=1563238351463970775,1565490151259951247,1573371450608849583,1579000950138182304,1598139890307574430,1655562777654750009,1667947676640930196,3607869505499593366&lang_list=0
https://store.steampowered.com/broadcast/ajaxgetbatchappcapsuleinfo?appids=1012840,1131710,1076280,1085160,1092660,1098940,594650,725270,779290,792300,842100,853240,859570,865360,939850,953490,975470,983350&cc=DK&l=english&feature=sale_halloween2019
@MalikAQayum
MalikAQayum / Inventory_store_checker.user.js
Created July 18, 2019 07:04
Checks if you have a gift of the sub / app store page you are on. (colors the title yellow)
// ==UserScript==
// @name Inventory store checker
// @namespace https://gist.github.com/MalikAQayum
// @version 0.1
// @description Checks if you have a gift of the sub / app store page you are on. (colors the title yellow)
// @author MalikQayum
// @connect store.steampowered.com
// @connect steamcommunity.com
// @include /^https?://store.steampowered.com/(app|sub)/*/
// @grant GM_xmlhttpRequest
///https://help.steampowered.com/da/
//delete it all
var rgOwnedPackages = [72,21478,41169,29470,45749,39023,49307,33333,39922,18396,41233,52808,33694,13261,25845,32032,32287,35063,36561,38085,39166,50861,59253,59373,66203,44739,54030,35390,78934,47466,21350,21353,57783,77521,53069,88519,86243,71609,77597,92353,20000,20003,20005,20002,20001,20004,20006,20007,20009,20008,20010,20011,20012,20013,20014,20015,20016,20017,20018,20019,20020,20021,20023,20022,20024,20025,20026,20027,20028,20029,20030,20031,20032,20034,20033,20036,20035,20037,20038,20039,20040,20041,20042,20043,20044,20046,20045,20047,20048,20049,20050,20051,20052,20053,20054,20055,20056,20057,20058,20059,20060,20061,20062,20063,20064,20065,20066,20067,20069,20068,20070,20071,20072,20073,20075,20074,20076,20077,20078,20079,20081,20080,20082,20083,20084,20085,20086,20087,20088,20089,20090,20091,20092,20093,20094,20095,20096,20097,20098,20099,20100,20101,20102,20103,20104,20105,20106,20107,20108,20110,20109,20111,20112,20113,20114,20115,20116,20117,201
<!-- saved from url=(0089)https://store.steampowered.com/curator/32296668-Casual-Game-Reviews/admin/accepted?ajax=1 -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><script>
function applyFilter() {
var el = document.getElementById("filter_selector").value;
if ( el === "all" ) {
$J( '#apps_all > *').show();
} else if ( el === "reviewed" ) {
$J( '#apps_all > .app_reviewed').show();
$J( '#apps_all > .app_unreviewed').hide();
@MalikAQayum
MalikAQayum / profilebadgelinker.user.js
Last active October 27, 2018 04:14
// @description changes the profile links to badge page links, for quick checking which duplicate cards a profile has for said badge.
// ==UserScript==
// @name Steam badge page linker
// @namespace https://steamcommunity.com/id/MalikQayum
// @version 0.2
// @description changes the profile links to badge page links, for quick checking which duplicate cards a profile has for said badge.
// @author MalikQayum
// @include /^https?:\/\/steamcommunity\.com[/]+(id|profiles)[/]+[^/]+\/gamecards[/]+[^/]+(\/|)$/
// @grant none
// ==/UserScript==