Left: | ||
Right: |
OLD | NEW |
---|---|
1 window.ext = { | 1 (function() { |
2 __proto__: chrome.extension.getBackgroundPage().ext, | 2 var style = document.createElement("style"); |
3 style.textContent = ".safari-only { display: none; }"; | |
4 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.
| |
3 | 5 |
4 closePopup: function() | 6 window.ext = { |
5 { | 7 __proto__: chrome.extension.getBackgroundPage().ext, |
6 window.close(); | 8 |
7 } | 9 closePopup: function() |
8 }; | 10 { |
11 window.close(); | |
12 } | |
13 }; | |
14 })(); | |
OLD | NEW |