-
Notifications
You must be signed in to change notification settings - Fork 1
/
background.html
executable file
·43 lines (40 loc) · 1.62 KB
/
background.html
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
<!DOCTYPE html>
<html>
<head>
<script src="js/slamtracker.js"></script>
<script src="js/ctxmenu.js"></script>
<script type="text/javascript">
// var runMethod = bruce.showImages;
// chrome.pageAction.onClicked.addListener(function(tab) {
// runMethod();
// });
// function checkForValidUrl(tabId, changeInfo, tab) {
// if (tab.url.indexOf('bruce-juice.com') > -1) {
// runMethod = bruce.showImages;
// chrome.pageAction.setIcon({
// tabId: tabId,
// path: 'images/tb16.png'
// });
// chrome.pageAction.show(tabId);
// } else if (tab.url.indexOf('http://www.google.it/reader/') == 0) {
// runMethod = greader.openLinks;
// chrome.pageAction.setIcon({
// tabId: tabId,
// path: 'images/greader.png'
// });
// chrome.pageAction.show(tabId);
// //chrome.tabs.executeScript(null, {
// // file: "js/gReaderStar.js"
// //});
// } else if (tab.url.indexOf('consolr') >= 0) {
// chrome.tabs.executeScript(null, {
// file: "js/titleParser.js"
// });
// }
// };
// chrome.tabs.onUpdated.addListener(checkForValidUrl);
</script>
</head>
<body>
</body>
</html>