# Extension stopped working on update for several users

**URL:** <https://discourse.mozilla.org/t/extension-stopped-working-on-update-for-several-users/42485>\
**Category:** Development\
**Created:** [July 12, 2019, 3:12pm UTC](https://discourse.mozilla.org/t/extension-stopped-working-on-update-for-several-users/42485 "2019-07-12T15:12:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![somebody](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@somebody](https://discourse.mozilla.org/u/somebody)\
**Post date:** [July 12, 2019, 3:12pm UTC](https://discourse.mozilla.org/t/extension-stopped-working-on-update-for-several-users/42485/1 "2019-07-12T15:12:17Z")

</div>

Some users have reported that my extension **stopped working after the latest major update**.  
I cannot reproduce this error and for most other users there doesn’t seem to be any problem.  
This new update is asking for **2 additional permissions**. Is it possible that an extension breaks completely if a user doesn’t accept those new permissions? I was expecting that only those parts of the application that are using those permissions would fail.  
Apparently the extension **starts working again** , when the user **uninstalls** it, restarts Firefox and then **re-installs** the extension.

**Update:** Just now one user confirmed that he did accept the new permissions but he still had to uninstall and re-install the extension in order for it to start working again.

---

<div class="post-metadata">

**Author:** ![stig](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/stig/32/24662_2.png) [@stig](https://discourse.mozilla.org/u/stig)\
**Post date:** [July 12, 2019, 6:42pm UTC](https://discourse.mozilla.org/t/extension-stopped-working-on-update-for-several-users/42485/2 "2019-07-12T18:42:21Z")

</div>

Do your extension use indexedDB?  
Does users experiencing problems have 1st party isolation enabled (privacy.firstparty.isolate;true) ?

> <https://github.com/greasemonkey/greasemonkey/issues/3045>
>
> Hi all,
> 
> if anyone reads it before upgrading to FF 68: create a backup of your… scripts.
> 
> After the automatic update, all my scripts were gone. Exceptions are still included (so GM seems pull some of my past settings), but all scripts are missing.
> 
> Where is GM storing the data currently? Within the folder browser-extension-data, the GM file was not changed. Still investigating, but this seems to be totally weird.

---

<div class="post-metadata">

**Author:** ![somebody](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@somebody](https://discourse.mozilla.org/u/somebody)\
**Post date:** [July 12, 2019, 6:52pm UTC](https://discourse.mozilla.org/t/extension-stopped-working-on-update-for-several-users/42485/3 "2019-07-12T18:52:08Z")

</div>

I’m using the [Web Storage API](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage).  
I know nothing about the user’s configs, I will ask them about this setting.  
Thank you

**Update:** But I doubt it has anything to do with storage. It seems as if no content scripts are being loaded (neither on websites nor priviledged ones like for browserAction or options page). And after the user has re-installed the extension all his stored data is available - so no losses from storage.

**Update 2:** I think that the only parts that still work are the browserAction, sidebarAction and options page (HTML), but without content scripts.
