Michael added a comment.
In T269224#6719226 <https://phabricator.wikimedia.org/T269224#6719226>, @Ladsgroup wrote: > In T269224#6719125 <https://phabricator.wikimedia.org/T269224#6719125>, @Michael wrote: > >> Ok, then let's try `document.URL` 👍 >> >> If you have a link to share that goes into more detail as to what is available to JS in an iframe, then I would be happy to learn more about it :) > > I don't have phd in iframeology but I have a feeling that js for iframe is being run in the context of the main frame meaning document.URL is needed instead of document.referrer. 🤞 TASK DETAIL https://phabricator.wikimedia.org/T269224 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ladsgroup, Michael Cc: Aklapper, Michael, Alter-paule, Manishsamota, Hazizibinmahdi, Beast1978, Un1tY, Akuckartz, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
