summaryrefslogtreecommitdiff
path: root/action_popup/action_popup.js
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2018-09-18 16:08:48 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2018-09-18 16:08:48 -0400
commit0d046223e2b2478473bef39e053d3021fbe169b0 (patch)
tree1c1cec190c8c2f78a2982408ca80e76701e2bc8a /action_popup/action_popup.js
downloadyorku-web-helper-0d046223e2b2478473bef39e053d3021fbe169b0.tar.xz
yorku-web-helper-0d046223e2b2478473bef39e053d3021fbe169b0.zip
Initial commit
Diffstat (limited to 'action_popup/action_popup.js')
-rw-r--r--action_popup/action_popup.js5
1 files changed, 5 insertions, 0 deletions
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"
+ });
+});