-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpopup.js
More file actions
32 lines (22 loc) · 721 Bytes
/
popup.js
File metadata and controls
32 lines (22 loc) · 721 Bytes
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
$(document).ready(function(){
var SGNP = SimpleGmailNotes;
SGNC.getBrowser().browserAction.setBadgeText({"text": ""});
$(".sgn-menu-table a").attr("target", "_blank");
$("#open_options").click(function(){
openTab("options.html");
return false;
});
$("#support").click(function(){
var url = SGNP.getSupportUrl();
window.open(url, "_blank");
return false;
});
$("#donation").click(function(){
var url = SGNP.getDonationUrl("po");
window.open(url, "_blank");
return false;
});
$("#bart_logo").attr("href", SGNP.getOfficalSiteUrl("po"));
$("#bart_logo img").attr("src", SGNP.getLogoImageSrc("po"));
$("#hire_us").attr("href", SGNP.getContactUsUrl("po"));
});