I create several widgets for charity. Due to some malarkey licenses, I have to find some way to allow only white lists of sites to run code, or send an error message (or something like that) rather than a widget.
We should use iFrames as a fair number of sites that are already built into them. Ideally, a PHP solution would be better, but JS is fine if necessary.
So, one liner; Can I check the domain where the iFrame is located and send it to other content?
I wonder what the chances are of doing this ...
javascript php iframe
PaulAdamDavis
source share