Have a prepaid card with a few dollars left on it? Just want to add enough to snag a deal later in the week without going overboard on spending? By default, Valve only lets you add funds in increments of $5 to your Steam account—but there are a few ways around that.

You have two main options here: you can use a browser extension called Enhanced Steam, or if you’re feeling adventurous, jump into your browser’s JavaScript console. Here’s how to use both tricks.

Add Any Amount with Enhanced Steam

The easiest way to add an odd amount of money to Steam is through the Enhanced Steam browser extension, which is available for Chrome, Firefox, Opera, and (soon) Microsoft Edge. Enhanced Steam integrates lots of useful functionality into storefront and community pages, including price history, performance information, and warnings about DRM. The extension isn’t created by Valve and occasionally breaks when Steam receives major changes, but it’s open source and well supported.

Navigate to the extension’s download page and you will be provided with a large download button and instructions for your web browser. Once the extension has been installed, go to Steam’s Add Funds page. A new box will appear beneath the $5 option. Enter any amount (over $5) and click “Add Funds”.

From here, you can check out normally. Enjoy!

Add Any Amount with the JavaScript Console

If you don’t want to install a browser extension, or you just feel like messing around with the JavaScript console, you can head straight to Steam’s Add Funds page.

When you click the button next to any of the dollar amounts, it instructs your browser to execute a JavaScript function called submitAddFunds() . By hovering your mouse over the button, you can see the syntax being used.

In Chrome, you can open the JS console by hitting Ctrl+Shift+J. On Firefox, the combination is Ctrl+Shift+K.

Now, type in submitAddFunds(x); where x is the amount of money you want to add in cents. When you click the $5 button, it calls submitAddFunds(500); , so if I wanted to add $14.51, I’d enter submitAddFunds(1451); to the box.

Hit Enter, and you’ll be brought to the checkout page.

If you’re planning to drop some big bucks, keep in mind that the maximum amount Steam will let you store is $500. Grab some fun games in the next sale, and try not to spend too much!