Skip to content

Instantly share code, notes, and snippets.

View retvil's full-sized avatar

Alex Myasoedov retvil

  • SDIncorporation
  • Moscow
View GitHub Profile
@retvil
retvil / [IOC] Free Steam (Add Demo and Trailer)
Last active August 29, 2015 14:05
[IOC] Free Steam (Add Demo and Trailer)
(function()
{
if( location.href.match( /^https:\/\/store\.steampowered\.com\/account\/?$/ ) === null )
{
alert( 'Please run this on Steam\'s account page details: https://store.steampowered.com/account/' );
return;
}
var freePackages =
[
@retvil
retvil / [IOC] Free Steam (Add Modification)
Last active August 29, 2015 14:05
[IOC] Free Steam (Add Modification)
(function()
{
if( location.href.match( /^https:\/\/store\.steampowered\.com\/account\/?$/ ) === null )
{
alert( 'Please run this on Steam\'s account page details: https://store.steampowered.com/account/' );
return;
}
var freePackages =
[
@retvil
retvil / [IOC] Free Steam (Add DLC)
Last active August 29, 2015 14:05
[IOC] Free Steam (Add DLC)
(function()
{
if( location.href.match( /^https:\/\/store\.steampowered\.com\/account\/?$/ ) === null )
{
alert( 'Please run this on Steam\'s account page details: https://store.steampowered.com/account/' );
return;
}
var freePackages =
[
@retvil
retvil / [IOC] Free Steam (Remove All)
Created August 16, 2014 13:38
[IOC] Free Steam (Remove All)
(function()
{
if( location.href.match( /^https:\/\/store\.steampowered\.com\/account\/?$/ ) === null )
{
alert( 'Please run this on Steam\'s account page details: https://store.steampowered.com/account/' );
return;
}
jQuery( '.account_table a' ).each( function( i, el )
{
@retvil
retvil / [IOC] Free Steam (Remove Program)
Created August 16, 2014 09:00
[IOC] Free Steam (Remove Program)
///Workerd on Script: lunboks
///Editor: Nod33Eset
///Tester:
(function () {
var NUKE_REGEX = /\b(?:trailer|teaser|demo|cinematic|pegi|esrb)\b/i;
var PACKAGE_ID_REGEX = /javascript:\s*RemoveFreeLicense\s*\(\s*(\d+)/;
var REMOVE_LICENSE_API = "/account/removelicense";
var RUN_ON_PAGE = "https://store.steampowered.com/account/";
@retvil
retvil / [IOC] Free Steam (Remove Modification)
Created August 16, 2014 08:59
[IOC] Free Steam (Remove Modification)
///Workerd on Script: lunboks
///Editor: Nod33Eset
///Tester:
(function () {
var NUKE_REGEX = /\b(?:trailer|teaser|demo|cinematic|pegi|esrb)\b/i;
var PACKAGE_ID_REGEX = /javascript:\s*RemoveFreeLicense\s*\(\s*(\d+)/;
var REMOVE_LICENSE_API = "/account/removelicense";
var RUN_ON_PAGE = "https://store.steampowered.com/account/";
@retvil
retvil / [IOC] Free Steam (Remove Game)
Last active August 29, 2015 14:05
[IOC] Free Steam (Remove Game)
///Workerd on Script: lunboks
///Editor: Nod33Eset
///Tester:
(function () {
var NUKE_REGEX = /\b(?:trailer|teaser|demo|cinematic|pegi|esrb)\b/i;
var PACKAGE_ID_REGEX = /javascript:\s*RemoveFreeLicense\s*\(\s*(\d+)/;
var REMOVE_LICENSE_API = "/account/removelicense";
var RUN_ON_PAGE = "https://store.steampowered.com/account/";
@retvil
retvil / [IOC] Free Steam (Remove DLC)
Last active August 29, 2015 14:05
[IOC] Free Steam (Remove DLC)
///Workerd on Script: lunboks
///Editor: Nod33Eset
///Tester:
(function () {
var NUKE_REGEX = /\b(?:trailer|teaser|demo|cinematic|pegi|esrb)\b/i;
var PACKAGE_ID_REGEX = /javascript:\s*RemoveFreeLicense\s*\(\s*(\d+)/;
var REMOVE_LICENSE_API = "/account/removelicense";
var RUN_ON_PAGE = "https://store.steampowered.com/account/";
@retvil
retvil / [IOC] Free Steam (Remove Demo and Trailer)
Created August 16, 2014 08:58
[IOC] Free Steam (Remove Demo and Trailer)
///Workerd on Script: lunboks
///Editor: Nod33Eset
///Tester:
(function () {
var NUKE_REGEX = /\b(?:trailer|teaser|demo|cinematic|pegi|esrb)\b/i;
var PACKAGE_ID_REGEX = /javascript:\s*RemoveFreeLicense\s*\(\s*(\d+)/;
var REMOVE_LICENSE_API = "/account/removelicense";
var RUN_ON_PAGE = "https://store.steampowered.com/account/";
@retvil
retvil / [IOC] Free Steam (Add Script)
Created August 16, 2014 08:08
[IOC] Free Steam (Add Script)
(function()
{
if( location.hostname !== 'store.steampowered.com' )
{
alert( 'Run this code on the Steam Store!' );
return;
}
else if( typeof jQuery !== 'function' )
{
ShowAlertDialog( '[IOC] Fail', 'This page has no jQuery, try homepage.' );