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

User rules were deleted and AdGuard is missing from context menu in Firefox after update to 4.4.18 #2927

Open
3 tasks done
MatzFan opened this issue Sep 1, 2024 · 3 comments
Assignees

Comments

@MatzFan
Copy link

MatzFan commented Sep 1, 2024

Please answer the following questions for yourself before submitting an issue

  • Filters were updated before reproducing an issue
  • I checked the knowledge base and found no answer
  • 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
Copy link
Author

MatzFan commented Sep 1, 2024

Firefox right-click context menu attached:-

Menu_001

@alexx7311
Copy link

@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.

@MatzFan
Copy link
Author

MatzFan commented Sep 6, 2024

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

@alexx7311 alexx7311 changed the title AdGuard missing from context menu in Firefox User rules were deleted and AdGuard is missing from context menu in Firefox after update to 4.4.18 Sep 6, 2024
@adguard-bot adguard-bot assigned maximtop and unassigned alexx7311 Sep 13, 2024
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

4 participants