librelist archives

« back to archive

IE compatibility part 2

IE compatibility part 2

From:
Elkom
Date:
2014-10-06 @ 13:10
I fixed almost all issues.

1. Chat is loaded from https
2. BOSH goes the website https with a valid certificate
3. All is almost sweet

But OTR is nor loaded on IE! Chat pops up but no OTR! All other browsers
and mobiles work properly. I manually disabled IE version recognition in
the script but nothing helps.

Why IE doesn't load OTR ?

---
This email is free from viruses and malware because avast! Antivirus 
protection is active.
http://www.avast.com

Re: [conversejs] IE compatibility part 2

From:
Jc Brand
Date:
2014-10-06 @ 14:29
On Mon, Oct 06, 2014 at 03:10:45PM +0200, ELKOM wrote:
> I fixed almost all issues.
> 
> 1. Chat is loaded from https
> 2. BOSH goes the website https with a valid certificate
> 3. All is almost sweet
> 
> But OTR is nor loaded on IE! Chat pops up but no OTR! All other browsers
> and mobiles work properly. I manually disabled IE version recognition in
> the script but nothing helps.
> 
> Why IE doesn't load OTR ?

IE < 11 doesn't have a pseudo-random number generator (PRNG), which is a 
requirement
for OTR.

https://developer.mozilla.org/en-US/docs/Web/API/RandomSource.getRandomValues

Re: [conversejs] IE compatibility part 2

From:
Elkom
Date:
2014-10-06 @ 17:37
On 2014-10-06 16:29, JC Brand wrote:

> IE < 11 doesn't have a pseudo-random number generator (PRNG), which is a
requirement
> for OTR.
> 
> https://developer.mozilla.org/en-US/docs/Web/API/RandomSource.getRandomValues

You are right. I have Windows 8.0 with IE10 :-( I don't have Windows 8.1
yet with IE 11 :-( I must ask somebody to conduct some tests.

Look at my chat. I made a workaround for many users at once. I select
different account every minute. It is unlikely that 2 ppl would click at
the same time but I need 5 minutes of timeout for ejabberd to kill
closed session.

As I said it is almost sweet but there should be a workaround for the
PRNG for older browsers. And in my opinion logging out doesn't work.

---
This email is free from viruses and malware because avast! Antivirus 
protection is active.
http://www.avast.com