Auto Steam Age Verifier

Lets you set your age so you can skip the Steam Age Verification page.

目前為 2014-06-22 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Auto Steam Age Verifier
// @description  Lets you set your age so you can skip the Steam Age Verification page.
// @version      1.3
// @namespace    VasVadum
// @license      CC-BY-NC
// @include      http://store.steampowered.com/agecheck/*
// @include      https://store.steampowered.com/agecheck/*
// @grant        none
// ==/UserScript==

//In the lines below, please enter the correct information in the value spot.  EG "var m = __", any invalid information may result in script failure.
//Month
var m = 6;
//Day
var d = 22;
//Year
var y = 1980;

//Do not edit below this line.
var mm = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];

(function (form) {
    form.ageYear.value = y;
    form.ageMonth.value = mm[m - 1];
    form.ageDay.value = d;
    form.submit();
}(document.querySelector('#agegate_box form')));