Skip to content

Instantly share code, notes, and snippets.

@Constellation
Created August 21, 2008 10:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Constellation/6538 to your computer and use it in GitHub Desktop.
Save Constellation/6538 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name MDC relink
// @namespace http://d.hatena.ne.jp/Constellation/
// @description relink MDC
// @include http://developer.mozilla.org/*
// ==/UserScript==
(/http:\/\/developer\.mozilla\.org\/(.+)\/(ja|en)$/i.test(document.location.href)) && (document.location.href = 'http://developer.mozilla.org/'+RegExp.$2+'/'+RegExp.$1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment