Skip to content

Commit 2ee69b7

Browse files
committed
Redirect para en.coderockr.com
1 parent 42231e2 commit 2ee69b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.html

+6
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,12 @@ <h2>A Coderockr está pronta para<br /><span>dar um show</span>,<br />entre em c
251251
load: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js'
252252
});
253253
</script>
254+
<script>
255+
var language = window.navigator.userLanguage || window.navigator.language;
256+
if(language.toLowerCase() != 'pt-br') {
257+
window.location.href='http://en.coderockr.com';
258+
}
259+
</script>
254260

255261
<!--[if lt IE 7 ]>
256262
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>

0 commit comments

Comments
 (0)