I have an application on which there is a specific page - call him Page A. Page A is sometimes a top-level page, but also sometimes embedded as an iframe inside page B. All pages come from the same server and there are no problems between domains.
I have a greasemonkey script that runs on page A. How does a greasemonkey script detect if page A is in an iframe context or not?
javascript greasemonkey iframe
Cheekysoft May 29 '09 at 8:47 a.m. 2009-05-29 08:47
source share