Releases: MetaMask/phishing-warning
Releases · MetaMask/phishing-warning
1.2.2
1.2.1
1.2.0 [DEPRECATED]
v1.1.0
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.
- This allows locating the package install directory using
- 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.
- If the hash
- 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.