Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fixes a major issue with the steam store
// ==UserScript==
// @name steam store Khimera bug fix
// @namespace snapcase.net
// @description sif this is free, something's fucky
// @include http://store.steampowered.com/app/467380*
// @version 1
// @grant none
// ==/UserScript==
var paypal = "http://www.paypal.me/syaxamaphone/"
var input = jQuery('<input style="width: 50px" type="number" min="0" name="numericInput" value="50" />');
var price = jQuery('.game_purchase_price.price').first();
price.empty();
price.append(input);
var play = jQuery('a.btnv6_green_white_innerfade.btn_medium').first();
play.empty();
play.attr("href", paypal + 50)
play.append('<span>Pay top dolla $$</span>');
input.change(function() {
play.attr("href", paypal + input.val())
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.