Last active
March 26, 2016 20:00
-
-
Save Lomanic/74fc330cb9e2a1c6d979 to your computer and use it in GitHub Desktop.
Userscript to fix the "ReferenceError: Promise is not defined" error on old browsers on Github
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Github ES6-Promises Polyfill | |
// @namespace Lomanic | |
// @description Fix the "ReferenceError: Promise is not defined" error | |
// @include https://github.com/* | |
// @include https://gist.github.com/* | |
// @require https://raw.githubusercontent.com/jakearchibald/es6-promise/master/dist/es6-promise.min.js | |
// @run-at document-start | |
// @version 1.1 | |
// @grant none | |
// ==/UserScript== | |
// nothing to do here, see the @require above |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment