AdguardBrowserExtension icon indicating copy to clipboard operation
AdguardBrowserExtension copied to clipboard

[investigate] User rules were deleted and AdGuard is missing from context menu in Firefox after update to 4.4.18

Open MatzFan opened this issue 1 year ago • 3 comments

Please answer the following questions for yourself before submitting an issue

  • [X] Filters were updated before reproducing an issue
  • [X] I checked the knowledge base and found no answer
  • [X] I checked to make sure that this issue has not already been filed

AdGuard Extension version

4.4.18

Browser version

Firefox 115.14.0esr

OS version

Linux Mint Debian Edition 6 (Faye) - based on Debian 12

Ad Blocking

AdGuard Base filter

Privacy

No response

Social

No response

Annoyances

No response

Security

No response

Other

No response

Language-specific

No response

What Tracking protection options do you have enabled?

No response

Issue Details

  • Install extension on Firefox 115.14.0esr
  • Enable "Add AdGuard item to the browser's context menu" from "Additional settings"
  • Right click on a web page and note that the AdGuard context menu item is missing

Expected Behavior

Prior to the latest update an AdGuard context menu item was present.

Actual Behavior

No context menu item is present.

Screenshots

Screenshot 1

Additional Information

My User rules also disappeared with the latest update too, but I didn't have many so am not bothered.

MatzFan avatar Sep 01 '24 11:09 MatzFan

Firefox right-click context menu attached:-

Menu_001

MatzFan avatar Sep 01 '24 11:09 MatzFan

@MatzFan, hello! We were able to reproduce the context menu issue, but we couldn't reproduce the user rules one. Can you help us out?

Please do the following:

  1. Download 3 builds of the AdGuard browser extensions at: https://uploads.adguard.org/firefox_4.3.64.zip https://uploads.adguard.org/firefox_4.4.18.zip https://uploads.adguard.org/firefox_4.4.22.zip
  2. Extract files from firefox_4.3.64.zip to any folder.
  3. Go to about:debugging#/runtime/this-firefox in Firefox browser.
  4. Click 'Load Temporary Add-on...' and choose to open manifest.json file from the firefox_4.3.64 folder.
  5. After installation of the extension please add and save the following rules to the User rules:

||example.org^$script ||ads.example.org^$third-party ||example.org/ads/* ||example.org^$subdocument example.org##div#ad_banner example.org##.advertisement example.org##.social-buttons example.org##h2:has-text(ads) example.org##+js(set, open, noopFunc) example.org##+js(setTimeout-defuser.js) example.org##+js(set, location.href, '') example.org##+js(noeval.js) ||example.org^$media example.org##div:has-text(subscribe) ||example.org/tracking/*$third-party

  1. Replace files from firefox 4.3.64 folder with files from firefox_4.4.18.zip archive.
  2. Go to about:debugging#/runtime/this-firefox and click 'Inspect' to display the console of the background page and 'Reload' on AdGuard AdBlocker tile to update the extension.
  3. Right click on any entry in the console and click 'Save All Messages to File' (you can use this page for the reference)
  4. Check whether user rules are present, if they're not please attach the logs to a comment in this issue. If they are, then follow the 6-8 steps but replace 4.4.18 extension with 4.4.22.

alexx7311 avatar Sep 04 '24 16:09 alexx7311

Hi @alexx7311, thanks for the quick feedback. I followed your steps and all user rules did disappear with upgrade to 4. 4.18. Logs attached. console-export-2024-9-6_11-40-22.txt

MatzFan avatar Sep 06 '24 10:09 MatzFan