-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove normalizeLinksContentScript (#836)
The script was responsible for overriding all src and href in DOM of every page to ensure content addressed with ipfs:// URL loads. Looking back, it does not align well with our upgrade path, and the result across browser vendors was buggy. While it allowed loading simple images, it did not help with broken XHR and iframe quirks and introduced unnecessary battery drain. Due to this, it is better to remove it and advise users to use content-addressing at a public gateway. This way everything works for people without IPFS client, and browsers with IPFS support can easily detect it and upgrade the call.
- Loading branch information
Showing
4 changed files
with
4 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 0 additions & 93 deletions
93
add-on/src/contentScripts/normalizeLinksWithUnhandledProtocols.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters