-
Notifications
You must be signed in to change notification settings - Fork 5
/
popup.js
51 lines (40 loc) · 1.45 KB
/
popup.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
(function(){
"use strict";
var version = chrome.runtime.getManifest().version;
$(document).ready(function(){
$("#extension-version").text(version);
GA.pageView();
$('#play_dmm').click(function() {
GA.click('Play DMM clicked');
window.open('http://pc-play.games.dmm.com/play/kanpani/');
});
$('#kanpanitools-website').click(function() {
GA.click('Opened KanpaniTools Website');
window.open('https://kanpanitools.com');
});
$('#ceo-room').click(function() {
GA.click('Opened CEO Room');
window.open('./ceoroom.html');
});
$('#wiki').click(function() {
GA.click('Wiki clicked');
window.open('http://wikiwiki.jp/kanpani/');
});
$('#hbc-wiki').click(function() {
GA.click('HBC Wiki clicked');
window.open('http://harem-battle.club/wiki/Kanpani-Girls');
});
$('#twitter').click(function() {
GA.click('Twitter clicked');
window.open('https://twitter.com/kanpani_STAFF');
});
$('#discord').click(function() {
GA.click('Discord clicked');
window.open('https://discord.gg/CBpuFxV');
});
$('#changelog').click(function() {
GA.click('Changelog clicked');
window.open('https://discord.gg/Fa6fXbA');
});
});
})();