var style = document.createElement('link');
style.rel = 'stylesheet';
style.type = 'text/css';
style.href = chrome.extension.getURL('upin.css');
(document.head||document.documentElement).appendChild(style);

// electricitymachine.com/upin
// this is a kind of link to other background pages, has traction
// i will likely use this to link to a background.html page later on
/*
chrome.tabs.onUpdated.addListener(function(tabId,changeInfo,tab){
  if (tab.url.indexOf("https://www.youtube.com/*, http://www.youtube.com/*") > -1 && 
      changeInfo.url === undefined){
    chrome.tabs.executeScript(tabId, {file: "background.html"} );
  }
});
*/