Skip to content

v1.1.0

Compare
Choose a tag to compare
@Gudahtt Gudahtt released this 16 May 15:04
· 96 commits to main since this release
d463627

Added

  • Add service worker for offline caching (#9)
  • Add favicons (#8)
  • Add actions to publish to gh-pages (#3)
  • Add dummy "main" script (#6)
    • This allows locating the package install directory using require.resolve, which is better for compatibility between package managers.
    • The main script throws an error, helping to prevent accidental misuse.
  • Skip initialization if the page is being loaded solely to install the service worker (#11)
    • If the hash #extensionStartup is set, skip setup and assume the page is being loaded just for service worker installation. We use this technique to ensure the service worker is installed during the MetaMask extension startup process.
  • Add anti-clickjacking measures (#12)
    • A script was added to the HTML file to detect when the frame is being embedded. If it detects that it is embedded, a separate design is used that prompts the user to open the warning page in a new tab to proceed. This ensures the blocked page cannot be added to the safelist via a clickjacking attack.