Skip to content

Instantly share code, notes, and snippets.

Avatar

Tyler Childs tylerchilds

View GitHub Profile
@JustusW
JustusW / pokevision_filter.user.js
Last active Jul 25, 2016
Filter Script for Pokevision.com
View pokevision_filter.user.js
// ==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 Jan 24, 2017
Raw JavaScript Ajax Request
View xhr.js
//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",