I noticed that all the Facebook applications that running inside an iframe hiding their iframe SRC, instead of the real src there is a “javascript:”””.
How can i do that? I want that my iframe will hide the original src
thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Facebook applications are loaded dynamically, which means the SRC is changed after the HTML is loaded. That is why you can only see
javascript:;. The src is not hidden though, it is still there and can be obtained using javascript.If you are using jQuery, you could use something like this:
With this, the iframe will have
javascript:;as src in the HTML, but will loadfacebook.com