This is my farewell post to wordpress.com. I will still be continuing my blogging career, but I have moved my blog to blogger because of the limitation on themes and HTML code on wordpress. I would like to ask you to update your bookmarks and come on over to the new and improved Sampler. Thank you for all of your support and I hope to see you there!
- view source print?function addZero(numberToPad) { 09 return ("0" + numberToPad).slice (-2); 10 } 11 12 var m_wpUrl = 'http://grabbaggin.blogspot.com/'; 13 var m_published = document.getElementsByClassName('published'); 14 if(m_published.length == 1) 15 { 16 m_published = m_published[0].getAttribute('title'); 17 var m_pubDate = new Date(m_published); 18 var m_url = location.href; 19 var m_lastSlash = m_url.lastIndexOf('/'); 20 var m_lastDot = m_url.lastIndexOf('.'); 21 var m_postName = m_url.substring(m_lastSlash + 1, m_lastDot); 22 if(m_lastDot > 0 && m_postName.indexOf("_archive") < 0) m_wpUrl += m_pubDate.getFullYear() + '/' + addZero(m_pubDate.getMonth() + 1) + '/' + addZero(m_pubDate.getDate()) + '/' + m_postName; 23 24 } 25 //redirect in 5 seconds 26 window.setTimeout(function(){location.href = m_wpUrl}, 5); 27 28 //change text 29 document.getElementsByClassName('http://grabbaggin.blogspot.com/')[0].setAttribute('href', m_wpUrl); 30 document.getElementsByClassName('http://grabbaggin.blogspot.com')[0].innerText = m_wpUrl; 31 32My blog has moved!You should be automatically redirected in 5 seconds. If not, visit
http://grabbaggin.blogspot.com
and update your bookmarks.
One Comment
Good work! Thanks for this sort of topical stuff as I have been in a position to find here. I agree with much of what’s written right here and I am going to be coming back to this site again.