add popup page

This commit is contained in:
Ilya Grigorik
2014-08-24 23:01:03 -07:00
parent 724ec1ada3
commit 33da3f2a5e
4 changed files with 62 additions and 4 deletions

13
popup.js Normal file
View File

@@ -0,0 +1,13 @@
document.addEventListener('DOMContentLoaded', function () {
document.querySelector('#config').addEventListener('click', function() {
window.open(chrome.extension.getURL("options.html"));
});
document.querySelector('#about').addEventListener('click', function() {
window.open("https://github.com/igrigorik/videospeed");
});
document.querySelector('#feedback').addEventListener('click', function() {
window.open("https://github.com/igrigorik/videospeed/issues");
});
});