Last active
December 26, 2016 03:09
-
-
Save ciffelia/dd649892400c8fb7da9b to your computer and use it in GitHub Desktop.
検索で一番上に引っかかるNode.js v7.x DocumentationからNode.js v6.x Documentationに自動でリダイレクトするUserScript https://gist.github.com/prince-0203/dd649892400c8fb7da9b/raw/nodejs-doc-redirect.js
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 Node.js API Doc Redirect | |
// @version 1.0.1 | |
// @match https://nodejs.org/api/* | |
// @run-at document-start | |
// ==/UserScript== | |
(() => { | |
'use strict'; | |
location.pathname = '/dist/latest-v6.x/docs' + location.pathname; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment