Browse Source

Rearranged for publishing

Brendan Abolivier 3 years ago
parent
commit
d964ffaad4
7 changed files with 3 additions and 3 deletions
  1. 2
    2
      eventPage.js
  2. 1
    1
      index.html
  3. 0
    0
      index.js
  4. 0
    0
      rsc/icon-128.png
  5. 0
    0
      rsc/icon-big.png
  6. 0
    0
      rsc/icon-red.png
  7. 0
    0
      rsc/icon.png

+ 2
- 2
eventPage.js View File

@@ -28,10 +28,10 @@ function updateTab() {
28 28
             sites = sites.sites
29 29
             domain = url.match(/:\/\/(www\.)?([^\/]+)\//).slice(-1)[0]
30 30
             if(domain in sites) {
31
-                chrome.browserAction.setIcon({path: 'icon-red.png'})
31
+                chrome.browserAction.setIcon({path: 'rsc/icon-red.png'})
32 32
             }
33 33
             else {
34
-                chrome.browserAction.setIcon({path: 'icon.png'})
34
+                chrome.browserAction.setIcon({path: 'rsc/icon.png'})
35 35
             }
36 36
         })
37 37
     })

popup.html → index.html View File

@@ -18,7 +18,7 @@
18 18
       }
19 19
     </style>
20 20
     <script src="jquery.js"></script>
21
-    <script src="popup.js"></script>
21
+    <script src="index.js"></script>
22 22
   </head>
23 23
   <body>
24 24
     <div id="mirror" style="display:none">This website may be blocked in your region.<br />

popup.js → index.js View File


icon-128.png → rsc/icon-128.png View File


icon-big.png → rsc/icon-big.png View File


icon-red.png → rsc/icon-red.png View File


icon.png → rsc/icon.png View File