Files
Mostly-Harmless/html/popup.html
T
2011-06-28 01:50:53 -05:00

29 lines
873 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Mostly Harmless Popup</title>
<link type="text/css" rel="stylesheet" href="/css/popup.css">
<script type="text/javascript" src="/fancy-settings/lib/store.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script type="text/javascript">
var popup;
popup = new Popup();
function initPopup() {
chrome.tabs.getSelected(null, function(currTab) {
if (cache.get(currTab.url) !== undefined) {
document.getElementById('body').innerHTML = popup.createListHTML(currTab.url);
document.getElementById('body').style.width = '700px';
}
});
}
window.addEventListener('load', initPopup);
</script>
</head>
<body id="body">
<img id="loading" src="/pix/ajaxload.info.gif" width="32" height="32" alt="Loading..." />
</body>
</html>