Skip to content

Commit e9346ce

Browse files
committed
an injection for notifying that the document has fully been loaded
1 parent df2c747 commit e9346ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

public/seed-loaded-injection.js

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// notify the parent window that the text (document) is fully loaded
2+
window.addEventListener("load", () => {window.parent.postMessage({"event": "loaded"}, window.parent?.location?.href);});

0 commit comments

Comments
 (0)