| Index: chrome/ext/popup.js |
| =================================================================== |
| --- a/chrome/ext/popup.js |
| +++ b/chrome/ext/popup.js |
| @@ -1,8 +1,14 @@ |
| -window.ext = { |
| - __proto__: chrome.extension.getBackgroundPage().ext, |
| +(function() { |
| + var style = document.createElement("style"); |
| + style.textContent = ".safari-only { display: none; }"; |
| + document.head.appendChild(style); |
|
Wladimir Palant
2014/04/30 13:57:57
The assumption here is that it is either Safari or
Sebastian Noack
2014/04/30 15:37:48
Done.
|
| - closePopup: function() |
| - { |
| - window.close(); |
| - } |
| -}; |
| + window.ext = { |
| + __proto__: chrome.extension.getBackgroundPage().ext, |
| + |
| + closePopup: function() |
| + { |
| + window.close(); |
| + } |
| + }; |
| +})(); |