Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tudou会执行两次script.js文件? #1

Open
ghyghoo8 opened this issue Mar 27, 2013 · 4 comments
Open

tudou会执行两次script.js文件? #1

ghyghoo8 opened this issue Mar 27, 2013 · 4 comments

Comments

@ghyghoo8
Copy link
Owner

发现一个bug,tudou会执行两次: UTIL.forEach(CONTROLLER, PROC);
其中一次的 document.title="nothing here"

找到一个判断:this.parent == this
还有啥其他办法判断 js是否在iframe中

@ghyghoo8
Copy link
Owner Author

尼玛~有个 url=http://ui.tudou.com/js/embed/xstorage/storage.html 的iframe 。。。

@ghyghoo8
Copy link
Owner Author

需要判断iframe

@dongjun111111
Copy link

试用一下

@dongjun111111
Copy link

:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants