Files
videospeed/popup.js
codebicycle ae778d2901 Replace chrome.extension with chrome.runtime
The messaging APIs in `extension` module are deprecated in favor of
the equivalent APIs in the `runtime` module.

Sources:
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/extension
https://developer.chrome.com/extensions/extension#methods
2017-10-03 13:47:43 -07:00

14 lines
495 B
JavaScript

document.addEventListener('DOMContentLoaded', function () {
document.querySelector('#config').addEventListener('click', function() {
window.open(chrome.runtime.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");
});
});