Skip to content

Instantly share code, notes, and snippets.

@anovsiradj
Last active Mar 19, 2020
Embed
What would you like to do?
[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