Last active
May 21, 2016 16:58
-
-
Save g-rudrag/5e3f601cc766628f474ff959723a7faa to your computer and use it in GitHub Desktop.
Stop Blogger From Redirecting Your Blogspot Blog To Country-Specific URL
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"> | |
var blog = document.location.href.toLowerCase(); | |
if (!blog.match(/\.blogspot\.com/)) { | |
blog = blog.replace(/\.blogspot\..*?\//, ".blogspot.com/ncr/"); | |
window.location.replace(blog); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment