Created
June 28, 2014 19:48
-
-
Save theabhishek2511/a1db79da51eea023b57f to your computer and use it in GitHub Desktop.
tumblr redirect theme
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
<html> | |
<head> | |
<script type="text/javascript"> | |
<!-- | |
function delayer() | |
{ | |
var str = document.URL.split(".tumblr.com"); | |
var newUrl = "http://yournewurl.tumblr.com"; | |
if(str.length != 1) | |
{ | |
newUrl = newUrl + str[1]; | |
} | |
window.location = newUrl; | |
} | |
//--> | |
</script> | |
</head> | |
<body onLoad="setTimeout('delayer()', 500)"> | |
<h2>Redirecting...</h2> | |
<p>This used to be my URL for some time, but I've changed it now. You'll be redirected to the new URL shortly.</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment