From 0d046223e2b2478473bef39e053d3021fbe169b0 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Tue, 18 Sep 2018 16:08:48 -0400 Subject: Initial commit --- action_popup/action_popup.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 action_popup/action_popup.js (limited to 'action_popup/action_popup.js') diff --git a/action_popup/action_popup.js b/action_popup/action_popup.js new file mode 100644 index 0000000..914041a --- /dev/null +++ b/action_popup/action_popup.js @@ -0,0 +1,5 @@ +document.getElementById("course-query-link").addEventListener("click", function () { + chrome.tabs.create({ + "url": "/yorku-course-query/index.html" + }); +}); -- cgit v1.2.3-54-g00ecf