Skip to content

Instantly share code, notes, and snippets.

View sensityy's full-sized avatar

Kristian Jacobs sensityy

View GitHub Profile
var inputs = document.getElementsByTagName('input');
for (var i = 0; i < inputs.length; ++i) {
if (inputs[i].type == "checkbox"){
inputs[i].checked = true;
}
}
document.getElementById("remove-selected").disabled = false
@sensityy
sensityy / autoverifier.js
Created December 31, 2016 01:22 — forked from sebastienvercammen/Code.gs
Nintendo PTC Account Verifier for Gmail (via Google Scripts)
/*
Automatically click all "Verify your email" links in the welcome e-mail from
Nintendo Pokémon Trainer Club's signup e-mails.
All verified e-mails will be moved to trash unless you set "moveToTrash" to false.
How to use:
1. Login to Gmail
2. Go to https://script.google.com/
3. Enter the code, save, run.
<?php
//SESSION MESSAGE SHOWN - [NEED: IN FUNCTION]
if(isset($_SESSION['message']))
{
//Shows the message.
echo $_SESSION['message'];
//Unset's the session after the message has been shown
unset($_SESSION['message']);
}