Skip to content

Instantly share code, notes, and snippets.

@anovsiradj
Last active March 19, 2020 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anovsiradj/b335f1c311ab1d6a056975dd294bac43 to your computer and use it in GitHub Desktop.
Save anovsiradj/b335f1c311ab1d6a056975dd294bac43 to your computer and use it in GitHub Desktop.
[DEPRECATED] blogger / blogspot - NoCountryRedirect (NCR) always use ".com" instead ".co.id"
if(/.co.id/.test(window.location.hostname)) window.location.replace(window.location.href.replace('.co.id','.com/ncr'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment