Skip to content

Instantly share code, notes, and snippets.

@DaveRandom
Created April 1, 2014 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DaveRandom/9911587 to your computer and use it in GitHub Desktop.
Save DaveRandom/9911587 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Bah humbug
// @description Disable the php.net 2014-04-01 scripts
// @version 1.0
// @author DaveRandom
// @namespace https://github.com/DaveRandom
// @match *://php.net/*
// @match *://*.php.net/*
// ==/UserScript==
(function (f) {
var el = document.createElement("script");
el.appendChild(document.createTextNode('(' + f + '());'));
document.body.appendChild(el);
}(function() {
window.setTimeout(function() {
window.fixTimeout = function() {};
window.fixEdges = function() {};
}, 500);
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment