문제

I have a website here and being a student in my school they block some website like Facebook but on my site I have a Facebook iframe.

So when I load the site in school I get the web blocker screen where the Facebook like button should be.

So is there anyway of detecting any web blocker and then if there is a web blocker disabling the iframe or the div it is in?

I don't know this is even possible but if anyone knows how it would be greatly appreciated.

Thank you so much.

도움이 되었습니까?

해결책

You could try to load any image or script from facebook.com and see if it gets an error.
(just make sure to change your code if Facebook changes their URLs)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top