javascript - How third party sites can check if user agreed/pass sth on my site, so they can let him pass sth on their sites? -
how third party sites can check if user agreed something(i.e. click ok)/pass test on site, can let him pass hidden resources on ther site? problem is, user should not asked register on third party sites, , give sites javascript paste code , merely button , text.
if help, using django.
i refute previous answer on grounds not offer solution question, not in way find solution , technically incorrect.
new answer:
- choose method validate user did action (a cookie maybe).
- have server script on site responds questions validation.
uservalidates.py
. should check if user did action (check cookie). - provide javascript snippet 3rd party includes on site. snippet create invisible iframe
uservalidates.py
on domain. same script needs create invisible iframe on 3rd party domain. - after
uservalidates.py
makes check change location of other invisile iframe. - you supplied javascript 3 able read changed location of iframe because they're same domain.
see written article more details , examples: http://softwareas.com/cross-domain-communication-with-iframes .
Comments
Post a Comment