signal-desktop/js/chromium.js

12 lines
253 B
JavaScript
Raw Normal View History

2018-04-27 21:25:04 +00:00
(function() {
'use strict';
// Browser specific functions for Chrom*
window.extension = window.extension || {};
2014-05-21 02:21:07 +00:00
2018-04-27 21:25:04 +00:00
extension.windows = {
onClosed: function(callback) {
window.addEventListener('beforeunload', callback);
},
};
})();