// Install Javascript
var s = document.createElement("script");
s.src = chrome.extension.getURL("script.js");
(document.head||document.documentElement).appendChild(s);

// Install CSS
var c = document.createElement("link");
c.rel = "stylesheet";
c.href = chrome.extension.getURL("gentle-alerts.css");
(document.head||document.documentElement).appendChild(c);

// Install Javascript
var s = document.createElement("script");
s.src = chrome.runtime.getURL("script.js");
(document.head||document.documentElement).appendChild(s);

// Install CSS
var c = document.createElement("link");
c.rel = "stylesheet";
c.href = chrome.runtime.getURL("gentle-alerts.css");
(document.head||document.documentElement).appendChild(c);

Switch from chrome.extension to chrome.runtime
Switch from chrome.extension to chrome.runtime
