Sfoglia il codice sorgente

Rearranged for publishing

Brendan Abolivier 8 anni fa
parent
commit
d964ffaad4
7 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  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 Vedi 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 Vedi 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 Vedi File


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


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


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


icon.png → rsc/icon.png Vedi File