Skip to content

Instantly share code, notes, and snippets.

View tylerchilds's full-sized avatar

Tyler Childs tylerchilds

View GitHub Profile
@JustusW
JustusW / pokevision_filter.user.js
Last active July 25, 2016 15:43
Filter Script for Pokevision.com
// ==UserScript==
// @name Enhanced Pokevision
// @namespace pokevision.com
// @author Justus
// @include https://pokevision*
//
// @run-at document-ready
// @include-jquery true
// @version 1.0.1
// ==/UserScript==
@iwek
iwek / xhr.js
Last active January 24, 2017 12:32
Raw JavaScript Ajax Request
//simple XHR request in pure JavaScript
function load(url, callback) {
var xhr;
if(typeof XMLHttpRequest !== 'undefined') xhr = new XMLHttpRequest();
else {
var versions = ["MSXML2.XmlHttp.5.0",
"MSXML2.XmlHttp.4.0",
"MSXML2.XmlHttp.3.0",
"MSXML2.XmlHttp.2.0",