Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Settings are not saved after closing Firefox #2775

Open
adguard-bot opened this issue Apr 3, 2024 · 23 comments
Open

Settings are not saved after closing Firefox #2775

adguard-bot opened this issue Apr 3, 2024 · 23 comments

Comments

@adguard-bot
Copy link

Issue URL (Annoyance)

https://ru.wikipedia.org/wiki/%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0

Comment

Не сохраняются настройки и постоянно появляется это уведомление
Username: @Nikaspar

Screenshots

Screenshot 1

Screenshot 1

System configuration

Information Value
AdGuard product: AdGuard Browser Extension v4.3.35
System version: Linux x86_64
Browser: Firefox
Stealth mode: disabled
Filters: Ad Blocking:
AdGuard Base

Language-specific:
AdGuard Russian
@Nikaspar
Copy link

Nikaspar commented Apr 3, 2024

upd. На всех сайтах где либо русский язык, либо есть русские буквы. Отключение языковых фильтров вроде помогает, но отключение откатывается после перезапуска браузер

@Alex-302
Copy link
Member

Alex-302 commented Apr 3, 2024

@Nikaspar Скорее всего баг расширения или что-то с профилем Фокса. Напишите, какие настройки конфиденциальности используются в Фоксе.

Перенесу в подходящий репозиторий.

@Alex-302 Alex-302 transferred this issue from AdguardTeam/AdguardFilters Apr 3, 2024
@Alex-302 Alex-302 changed the title ru.wikipedia.org Settings are not saved after closing Firefox Apr 3, 2024
@alexx7311
Copy link

alexx7311 commented Apr 3, 2024

@Nikaspar Здравствуйте! Пожалуйста, сделайте следующее:

  1. Откройте консоль браузера (нажмите Ctrl + Shift + J (или Cmd + Shift + J на Mac))
  2. Выберите мультипроцессный режим и оставьте консоль браузера открытой
Мультипроцессный режим

Мультипроцессный режим

  1. Выполните шаги 1-3 из этой инструкции для Firefox, чтобы открыть background.html в расширении.

  2. Вводите по одной каждую из этих команд в консоли background.html и после каждой нажимайте Enter:

await browser.storage.local.get('adguard-settings');

await browser.storage.local.get('adguard-settings-2');

await browser.storage.local.set({'adguard-settings': 'test'});

await browser.storage.local.set({'adguard-settings-2': 'test'});

await browser.storage.local.remove('adguard-settings');

await browser.storage.local.remove('adguard-settings-2');

  1. Щелкните правой кнопкой мыши на любой записи в консоли background.html и нажмите "Save All Messages to File" (как описано в шаге 4 в инструкции выше).

  2. Перейдите на сайт https://firefox-storage-test.glitch.me/ и сохраните содержимое этой страницы в txt-файл.

  3. Перейдите на вкладку "События" в Firefox по адресу about:telemetry#events-tab.

  4. Введите в поле "Искать в События" "extensions.data" и сделайте скриншот, затем "storageLocalError" и сделайте скриншот.

Искать в События

Искать в События

  1. Перейдите в консоль браузера (из шага 1 выше), щелкните правой кнопкой мыши на любой записи и нажмите "Save All Messages to File".
  2. Прикрепите все полученные файлы к комментарию в этой задаче.

@Nikaspar
Copy link

Nikaspar commented Apr 3, 2024

@Nikaspar
Copy link

Nikaspar commented Apr 3, 2024

@Alex-302 Все дефолтное, только отключены безопасные DNS

@maximtop
Copy link
Contributor

maximtop commented Apr 3, 2024

@Nikaspar спасибо
не переустанавливайте пока расширение, я ваши данные передам firefox, может они еще что-то попросят сделать чтобы диагностировать баг

@maximtop
Copy link
Contributor

maximtop commented Apr 3, 2024

Сам баг обсуждается тут https://bugzilla.mozilla.org/show_bug.cgi?id=1885297

@alexx7311
Copy link

alexx7311 commented Apr 4, 2024

For those who would like to help, here are the instructions:

  1. Open the Browser console (press Ctrl + Shift + J (or Cmd + Shift + J on a Mac))
  2. Choose Multiprocess mode and leave the Browser console opened
Multiprocess mode

Multiprocess mode

  1. Follow steps 1-3 from this instruction for Firefox to open background page in the extension (go to about:addons > Debug Add-ons > Inspect)
  2. Type each of these commands one at a time in the console of the background page and press Enter after each one:

await browser.storage.local.get('adguard-settings');

await browser.storage.local.get('adguard-settings-2');

await browser.storage.local.set({'adguard-settings': 'test'});

await browser.storage.local.set({'adguard-settings-2': 'test'});

await browser.storage.local.remove('adguard-settings');

await browser.storage.local.remove('adguard-settings-2');

  1. Right click on any entry in console of the background page and click "Save All Messages to File" (as per step 4 in the instruction above)
  2. Go to https://firefox-storage-test.glitch.me/ and save the content of this page to a txt file.
  3. Go to the Events tab in Firefox at about:telemetry#events-tab
  4. Type in "Find in Events" field "extensions.data" and take a screenshot, then "storageLocalError" and take a screenshot.
Find in Events

Find in Events

  1. Navigate to the Browser console (from the step 1) and right click on any entry and click "Save All Messages to File".
  2. Please attach all resulting files to the comment in this issue.

Thank you in advance for your help!

@Skywriter960
Copy link

started ... (Issue #2771) - now hear ...

Sorry, the link above for Instruction is not working: Firefox whines about the script despite the Java Script being turned on and MS Edge doesn't show any link underlining, so I can't choose a browser ...

So I can't send an error report either. What a pity!

The computer magazine c't only praised this browser add-on over others in one of its last issues ...

So this problem will be solved quickly. :-) Right?

@maximtop
Copy link
Contributor

@Nikaspar
Можете открыть эту страницу в firefox https://firefox-storage-test.glitch.me, где расширение не работает
и поделиться результатами сюда или прямо в ишью https://bugzilla.mozilla.org/show_bug.cgi?id=1885297#c10

English:
Could you please open this page in Firefox: https://firefox-storage-test.glitch.me/, where the extension does not work, and share the results here or directly in the issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1885297#c10?

@tothpsk
Copy link

tothpsk commented May 6, 2024

Hi, what is the status of this issue? I am still experiencing it on Firefox 125.0.1 (64 bit). My operating system is Manjaro Linux. Adguard version is 4.3.46.

@maximtop
Copy link
Contributor

Hi, what is the status of this issue? I am still experiencing it on Firefox 125.0.1 (64 bit). My operating system is Manjaro Linux. Adguard version is 4.3.46.

The issue has not been resolved yet. If you are experiencing similar problems, could you please share your symptoms as described in the Mozilla bug tracker issue?

Could you also open this page in Firefox: https://firefox-storage-test.glitch.me/, where the extension is not working, and share the results either here or directly in the issue at https://bugzilla.mozilla.org/show_bug.cgi?id=1885297#c10?

@Nikaspar
Copy link

@maximtop Пришлось переустанавливать систему, соответсвенно ff тоже новый и проблема исчезла, так что больше нечего показывать

@Skywriter960
Copy link

Hello,

what I have observed so far is that the new PC versions of FF and Librewolf do not deactivate AdGuard when exiting the program.... But the portable version from portableapps.com does.

All I know is that the portable version is being tweaked. It's possible that "this forgetting" has something to do with it.

With this in mind, my feedback and greetings,
Skywriter

@NathanTheGraves
Copy link

I'm experincing the same issue. My adguard settings don't save and all the changes I make turn off even while I'm browsing, but also whenever I close FF and reopen it later.

For those who would like to help, here are the instructions:

...

Thank you in advance for your help!

I am attaching my results here:

console-export-2024-5-16_14-23-26.txt
console-export-2024-5-16_14-24-15.txt
Annotation 2024-05-16 142501

@maximtop
Copy link
Contributor

maximtop commented May 17, 2024

I'm experincing the same issue. My adguard settings don't save and all the changes I make turn off even while I'm browsing, but also whenever I close FF and reopen it later.

Thank you for your help.
Can you also open this page in Firefox and share what it shows: https://firefox-storage-test.glitch.me/?

@NathanTheGraves
Copy link

I'm experincing the same issue. My adguard settings don't save and all the changes I make turn off even while I'm browsing, but also whenever I close FF and reopen it later.

Thank you for your help. Can you also open this page in Firefox and share what it shows: https://firefox-storage-test.glitch.me/?

Here you go:

image

@NathanTheGraves
Copy link

For the time being, I uninstalled the add-on, restarted Firefox, reinstalled the add-on and will be seeing if this fixes the issue.
So far, after restarting Firefox after i reinstalled the add-on, it seems that the settings were saved since it had the ad Blocking filter enabled instead of having it be disabled like it was doing it before. I will be updating you all if my issue comes back or if I am enjoying a stable fix throughout the following day or 2.

@maximtop
Copy link
Contributor

Here you go:

Thanks

@NathanTheGraves
Copy link

Here you go:

Thanks

So my Adguard is back to normal after I reinstalled it. I was able to import my settings and so far, I have not experienced any issues with filters turning off by themselves, and my settings save properly now after I make any changes.

I will let you all know if the issues come back.

@alexx7311 alexx7311 mentioned this issue May 21, 2024
@tothpsk
Copy link

tothpsk commented May 22, 2024

Hi, I can confirm. Uninstalling Adguard extension and reinstalling it again fixes my problems. Thanks for the suggestion.

@scudmissile-kr
Copy link

Hi guys I experienced the same issue for few months, but after reinstalling the Adguard extension, the problem disappeared.

@Skywriter960
Copy link

Skywriter960 commented May 24, 2024

Once again: The portable version of FF 126.0 permanently and persistently disables the activation of this add-on.

The above link has been unusable for months:
https://firefox-storage-test.glitch.me/

and is acknowledged with the following error message:
Investigating... If this doesn't go away, things are unexpectedly broken.

Or I get the error message:

JavaScript must be enabled in order to use Notion.
Please enable JavaScript to continue.

although JavaScript is switched on.


New status on 02-06-2024

I managed to reinstall FF portable with many addons and personal settings and ... The settings will no longer be forgotten!

With this in mind, thanks to the AdGuard team and goodbye, Skywriter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants