# The Kee Chrome Extension breaks Discuz!X3.4 site https://iya.app

**URL:** <https://forum.kee.pm/t/the-kee-chrome-extension-breaks-discuz-x3-4-site-https-iya-app/2020>\
**Category:** Kee browser extension\
**Tags:** compatibility\
**Created:** [February 15, 2019, 4:51am UTC](https://forum.kee.pm/t/the-kee-chrome-extension-breaks-discuz-x3-4-site-https-iya-app/2020 "2019-02-15T04:51:44Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![EtaoinWu](https://forum.kee.pm/user_avatar/forum.kee.pm/etaoinwu/32/492_2.png) [@EtaoinWu](https://forum.kee.pm/u/EtaoinWu)\
**Post date:** [February 15, 2019, 4:51am UTC](https://forum.kee.pm/t/the-kee-chrome-extension-breaks-discuz-x3-4-site-https-iya-app/2020/1 "2019-02-15T04:51:44Z")

</div>

[IYA.APP](https://iya.app) is a Chinese forum site powered by [Discuz!](http://www.discuz.net/) version X3.4. (The site does not support registering recently, but the issue can be reproduced without an account.)

 ![image](https://forum.kee.pm/uploads/default/original/1X/abffb3196677e14eeb7656112e025b3bda110160.png)

## Expected Behavior

Without Kee enabled, if I click the login button, there should be a normal login forum.

## The Behavior with Kee Enabled

With Kee enabled, clicking the login button results in a gray shadow, with a “loading” information on the top right corner.  
The HAR is uploading.

I have disabled every other extension and tested with only Kee. I’m sure Kee’s injection broke the site.

---

<div class="post-metadata">

**Author:** ![EtaoinWu](https://forum.kee.pm/user_avatar/forum.kee.pm/etaoinwu/32/492_2.png) [@EtaoinWu](https://forum.kee.pm/u/EtaoinWu)\
**Post date:** [February 15, 2019, 4:52am UTC](https://forum.kee.pm/t/the-kee-chrome-extension-breaks-discuz-x3-4-site-https-iya-app/2020/2 "2019-02-15T04:52:15Z")

</div>

With Kee disabled, screenshot:

 ![image](https://forum.kee.pm/uploads/default/original/1X/b108504962b48d0b8d892c8f5103c8efcad499de.png)

---

<div class="post-metadata">

**Author:** ![EtaoinWu](https://forum.kee.pm/user_avatar/forum.kee.pm/etaoinwu/32/492_2.png) [@EtaoinWu](https://forum.kee.pm/u/EtaoinWu)\
**Post date:** [February 15, 2019, 4:53am UTC](https://forum.kee.pm/t/the-kee-chrome-extension-breaks-discuz-x3-4-site-https-iya-app/2020/3 "2019-02-15T04:53:12Z")

</div>

The HAR of incorrect behavior, uploaded to gist

> <https://gist.github.com/EtaoinWu/7f061d2b4f85a3c1b7a8c0ef115a7dd9>

---

<div class="post-metadata">

**Author:** ![luckyrat](https://forum.kee.pm/user_avatar/forum.kee.pm/luckyrat/32/10_2.png) [@luckyrat](https://forum.kee.pm/u/luckyrat)\
**Post date:** [February 15, 2019, 11:19pm UTC](https://forum.kee.pm/t/the-kee-chrome-extension-breaks-discuz-x3-4-site-https-iya-app/2020/4 "2019-02-15T23:19:02Z")

</div>

> [@EtaoinWu](#):
>
> With Kee enabled, screenshot

Did you mean disabled? It looks like the login form is showing correctly in your screenshot?

Do you know if the problem also occurs in Firefox?

---

<div class="post-metadata">

**Author:** ![EtaoinWu](https://forum.kee.pm/user_avatar/forum.kee.pm/etaoinwu/32/492_2.png) [@EtaoinWu](https://forum.kee.pm/u/EtaoinWu)\
**Post date:** [February 16, 2019, 3:43am UTC](https://forum.kee.pm/t/the-kee-chrome-extension-breaks-discuz-x3-4-site-https-iya-app/2020/5 "2019-02-16T03:43:15Z")

</div>

I’m sorry. You’re right.  
With Kee enabled:

 ![image](https://forum.kee.pm/uploads/default/original/1X/31d2c7375a413485adcfc771f5be89b7df595712.png)  
The text on the top-right corner reads “Please wait”

---

<div class="post-metadata">

**Author:** ![EtaoinWu](https://forum.kee.pm/user_avatar/forum.kee.pm/etaoinwu/32/492_2.png) [@EtaoinWu](https://forum.kee.pm/u/EtaoinWu)\
**Post date:** [February 16, 2019, 3:43am UTC](https://forum.kee.pm/t/the-kee-chrome-extension-breaks-discuz-x3-4-site-https-iya-app/2020/6 "2019-02-16T03:43:59Z")

</div>

Also, if I lock the database in KeePass (which means the Kee plugin displays “OFF”), the forum loads correctly.

---

<div class="post-metadata">

**Author:** ![EtaoinWu](https://forum.kee.pm/user_avatar/forum.kee.pm/etaoinwu/32/492_2.png) [@EtaoinWu](https://forum.kee.pm/u/EtaoinWu)\
**Post date:** [February 16, 2019, 3:51am UTC](https://forum.kee.pm/t/the-kee-chrome-extension-breaks-discuz-x3-4-site-https-iya-app/2020/7 "2019-02-16T03:51:06Z")

</div>

The similar problem occurs in Firefox.  
I tested on Firefox 65.0.1 and Chrome Stable 72.0.3626.109, both x64, on Windows 1809 17758.4.

---

<div class="post-metadata">

**Author:** ![luckyrat](https://forum.kee.pm/user_avatar/forum.kee.pm/luckyrat/32/10_2.png) [@luckyrat](https://forum.kee.pm/u/luckyrat)\
**Post date:** [February 28, 2019, 11:45am UTC](https://forum.kee.pm/t/the-kee-chrome-extension-breaks-discuz-x3-4-site-https-iya-app/2020/8 "2019-02-28T11:45:49Z")

</div>

I can’t reproduce this problem with the Kee 3.0 [beta](https://forum.kee.pm/t/beta-testing-the-kee-browser-extension/2022) on Firefox 66. Either it’s something I’ve fixed in that version or some other software is causing a compatibility problem. Please can you check with Kee 3.0 and let us know if that fixes the problem?

---

<div class="post-metadata">

**Author:** ![EtaoinWu](https://forum.kee.pm/user_avatar/forum.kee.pm/etaoinwu/32/492_2.png) [@EtaoinWu](https://forum.kee.pm/u/EtaoinWu)\
**Post date:** [March 1, 2019, 2:50am UTC](https://forum.kee.pm/t/the-kee-chrome-extension-breaks-discuz-x3-4-site-https-iya-app/2020/9 "2019-03-01T02:50:58Z")

</div>

Hi, thank you for your reply. I just installed Kee 3.0 `kee-3.0.1beta-an+fx.xpi` on my Firefox 55.0.2 which is the latest release on my Windows and the problem was reproduced.  
I’ve found out that the site uses the following code:

```javascript
// excerpt from https://iya.app/data/cache/logging.js?hF1
// in the HTML, the "login" button has onclick=lsSubmit();
function lsSubmit(op) {
  // unrelated part skipped
  if ($('ls_username').value == '' || $('ls_password').value == '') {
    showWindow('login', 'member.php?mod=logging&action=login' + (op ? '&cookietime=1' : ''));
  } else {
    ajaxpost('lsform', 'return_ls', 'return_ls');
  }
  return false;
}

```

If Kee is loaded before the login button is clicked, `$('ls_username').value` and `$('ls_password').value` would be set to the corresponding item in my KeePass database, so the program would go to the `else` branch, but the CAPTCHA forms are not filled yet, so the ajax login would fail.  
One possible solution may be disabling auto-fill on page load on this site, then I can click the Kee button to fill the form after the login window displays, but there is no configuration on this yet.

---

<div class="post-metadata">

**Author:** ![luckyrat](https://forum.kee.pm/user_avatar/forum.kee.pm/luckyrat/32/10_2.png) [@luckyrat](https://forum.kee.pm/u/luckyrat)\
**Post date:** [March 1, 2019, 10:38am UTC](https://forum.kee.pm/t/the-kee-chrome-extension-breaks-discuz-x3-4-site-https-iya-app/2020/10 "2019-03-01T10:38:19Z")

</div>

Ah OK, so it’s not that enabling Kee causes the problem. In fact, it is that any auto-fill operation on their login form will trigger this bug in their website.

Without studying their site in detail I can’t say for sure but it looks like the correct fix would be for them to change their code so that it also checks for the CAPTCHA form completion status (presumably the captcha has been added later without regard to this code sample you provided).

In any case, doesn’t disabling auto-fill for the entry in question work around the issue?

You’re correct that you can’t disable auto-fill on a per-site basis but that should only be helpful if you have a huge number of entries for a site.

---

<div class="post-metadata">

**Author:** ![EtaoinWu](https://forum.kee.pm/user_avatar/forum.kee.pm/etaoinwu/32/492_2.png) [@EtaoinWu](https://forum.kee.pm/u/EtaoinWu)\
**Post date:** [March 1, 2019, 10:53am UTC](https://forum.kee.pm/t/the-kee-chrome-extension-breaks-discuz-x3-4-site-https-iya-app/2020/11 "2019-03-01T10:53:42Z")

</div>

Disabling on the field id `ls_password` helps. Thank you so much for your reply anyway.  
(unrelated) Hope Kee3.0 would soon be available on Chrome.

---

<div class="post-metadata">

**Author:** ![luckyrat](https://forum.kee.pm/user_avatar/forum.kee.pm/luckyrat/32/10_2.png) [@luckyrat](https://forum.kee.pm/u/luckyrat)\
**Post date:** [March 1, 2019, 11:12am UTC](https://forum.kee.pm/t/the-kee-chrome-extension-breaks-discuz-x3-4-site-https-iya-app/2020/12 "2019-03-01T11:12:09Z")

</div>

If you’re happy with the solution that’s great, although it sounds as though you’ve blacklisted the entire form which would prevent you from even manually invoking Kee to fill the login form when it has been displayed. I was referring to the option in each KeePass entry that controls auto-fill behaviour for that entry (i.e. go to KeePass, Edit the entry, go to the Kee tab and change the settings there).

Glad you’re looking forward to Kee 3.0 on Chrome. I’m waiting for at least another week to give the localisation team time to translate into multiple languages (and for a few other things) so hopefully it won’t be too much longer to wait.

---

<div class="post-metadata">

**Author:** ![EtaoinWu](https://forum.kee.pm/user_avatar/forum.kee.pm/etaoinwu/32/492_2.png) [@EtaoinWu](https://forum.kee.pm/u/EtaoinWu)\
**Post date:** [March 1, 2019, 12:07pm UTC](https://forum.kee.pm/t/the-kee-chrome-extension-breaks-discuz-x3-4-site-https-iya-app/2020/13 "2019-03-01T12:07:56Z")

</div>

Both ways work. I’ve even forgotten there exists a Kee tab in KeePass client.

Thank you so much for your time.
