var headID = document.getElementsByTagName(“head”)[0];
var newCss = document.createElement(‘link’);
newCss.rel = ‘stylesheet’;
newCss.type = ‘text/css’;
window._botUsername = ‘467052’;
window._botName = ‘Corey’;
newCss.href = “http://rebot.me/assets/css/bot.css”;
var newScript = document.createElement(‘script’);
newScript.src = “http://rebot.me/assets/js/bot.js”;
newScript.type = ‘text/javascript’;
headID.appendChild(newScript);
headID.appendChild(newCss);

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s