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

Restrict unconnected notice to specific protocols #6954

Merged

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Aug 2, 2019

The notice asking whether you wanted to connect to a site was showing
up in places it shouldn't, like on the Firefox/Chrome settings pages
and on our fullscreen extension. It has now been restricted to only
be displayed for active tabs with specific protocols:

  • http
  • https
  • dat
  • dweb
  • ipfs
  • ipns
  • ssb

This prevents the notice from being shown on settings pages, browser
extensions, and files such as PDFs.

The notice asking whether you wanted to connect to a site was showing
up in places it shouldn't, like on the Firefox/Chrome settings pages
and on our fullscreen extension. It has now been restricted to only
be displayed for active tabs with specific protocols:

* http
* https
* dat
* dweb
* ipfs
* ipns
* ssb

This prevents the notice from being shown on settings pages, browser
extensions, and files such as PDFs.
@Gudahtt Gudahtt requested review from danjm and whymarrh as code owners August 2, 2019 18:42
@Gudahtt Gudahtt merged commit 75d5374 into MetaMask:develop Aug 2, 2019
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.

2 participants