Created
December 10, 2012 06:00
-
-
Save ods/4248725 to your computer and use it in GitHub Desktop.
Forbid localization redirects by blogger
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
<script type='text/javascript'> | |
(function(){ | |
var oh=window.location.host, nh=oh.replace(/\.\w+$/, '.com'); | |
if (nh!=oh) { | |
window.location.replace(window.location.href.replace(oh, nh+'/ncr')); | |
} | |
})() | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment