@spirobel/monero-wallet-api 0.6.11 → 0.6.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tools/content.js +0 -5
- package/package.json +1 -1
package/dist/tools/content.js
CHANGED
|
@@ -78,9 +78,4 @@ export function installToolLinkEventInterception(confirmationcallback = DefaultC
|
|
|
78
78
|
document.addEventListener("click", interceptToolLinkCallback, true);
|
|
79
79
|
document.addEventListener("touchend", interceptToolLinkCallback, true);
|
|
80
80
|
document.addEventListener("keydown", interceptToolLinkCallback, true);
|
|
81
|
-
// direct tool open is the page url itself. that is always the top frame.
|
|
82
|
-
// an iframe src with a tool link is a page embedding a payment the user never opened.
|
|
83
|
-
if (window.top === window && confirmationcallback(location.href)) {
|
|
84
|
-
deliverToolUrl(location.href);
|
|
85
|
-
}
|
|
86
81
|
}
|