|
|
@ -17,8 +17,9 @@
|
|
|
|
'use strict';
|
|
|
|
'use strict';
|
|
|
|
window.textsecure = window.textsecure || {};
|
|
|
|
window.textsecure = window.textsecure || {};
|
|
|
|
|
|
|
|
|
|
|
|
if (navigator.mimeTypes['application/x-nacl'] === undefined &&
|
|
|
|
if ((navigator.mimeTypes['application/x-nacl'] === undefined &&
|
|
|
|
navigator.mimeTypes['application/x-pnacl'] === undefined) {
|
|
|
|
navigator.mimeTypes['application/x-pnacl'] === undefined) ||
|
|
|
|
|
|
|
|
window.location.protocol != "chrome-extension:") {
|
|
|
|
// browser does not support native client.
|
|
|
|
// browser does not support native client.
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|