Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Stop Blogger From Redirecting Your Blogspot Blog To Country-Specific URL
<script type="text/javascript">
var blog = document.location.href.toLowerCase();
if (!blog.match(/\.blogspot\.com/)) {
blog = blog.replace(/\.blogspot\..*?\//, "");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment