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

Remove noatb.css. #2312

Merged
merged 2 commits into from
Oct 31, 2023
Merged

Remove noatb.css. #2312

merged 2 commits into from
Oct 31, 2023

Conversation

sammacbeth
Copy link
Collaborator

Reviewer:

Description:

We're not using this CSS rule for extension detection anymore. Removing it fixes a race condition on extension install in Firefox.

Asana: https://app.asana.com/0/892838074342800/1205807960803986/f

Steps to test this PR:

  1. In Firefox, visit https://duckduckgo.com/ (extension not installed)
  2. Click 'Add DuckDuckGo to Firefox', then cancel the install prompt.
  3. Check the natb value in the URL bar.
  4. Now go to about:debugging and install the extension.
  5. When the postinstall page opens, check that the atb value matches natb from step 3.

@sammacbeth sammacbeth requested a review from kzar October 31, 2023 09:59
We're not using this CSS rule for extension detection anymore. Removing
it fixes a race condition on extension install in Firefox.
Copy link
Collaborator

@jonathanKingston jonathanKingston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woo

@moollaza
Copy link
Member

@sammacbeth code looks good, but I couldn't get the post-install page to open.

I'm probably doing something wrong though with the build/install process, as I haven't tested a dev build in a long time...

@sammacbeth sammacbeth merged commit b8e4b9a into duckduckgo:main Oct 31, 2023
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants