1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts/use-snow.js
Dan J Miller 8c550e78e9
patch lavamoat files to make v10.26.0 compatible with v78 of chrome (#18053)
Co-authored-by: Peter <53189696+PeterYinusa@users.noreply.github.com>
2023-03-08 14:08:24 -03:30

9 lines
260 B
JavaScript

// eslint-disable-next-line import/unambiguous
(function () {
const log = console.log.bind(console);
const msg = 'SNOW INTERCEPTED NEW WINDOW CREATION IN METAMASK APP: ';
window.top.SNOW((win) => {
log(msg, win, win && win.frameElement);
});
})();