# WhiteList Iframe from facebook not show

**URL:** <https://meta.discourse.org/t/whitelist-iframe-from-facebook-not-show/66260>\
**Category:** Support\
**Created:** [2017 年 7 月 15 日午後 5:16 UTC](https://meta.discourse.org/t/whitelist-iframe-from-facebook-not-show/66260 "2017-07-15T17:16:55Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)\
**Post date:** [2017 年 9 月 1 日午後 3:44 UTC](https://meta.discourse.org/t/whitelist-iframe-from-facebook-not-show/66260/10 "2017-09-01T15:44:27Z")

</div>

> [@sam](#):
>
> only prefix

By that you mean I can specify not only domains but also subdomains?

> [@sam](#):
>
> Why do you need regex?

One of my entries currently looks like this:

```
whiteListIframe(/^(https?:)?\/\/books.google\.(gr|pt|ae|au|com|de|fr|se|ca|co.uk|es|dk|co.za|fi|cz|be|nl|at|cn|com.br|jp|it|is|in|ie|id|mx|tr)\/.+&output=embed.*/i);

```

But I guess it’s possible to achieve this “the long way” without regex, at least if we drop the `embed` part…

---

_[View the full topic](https://meta.discourse.org/t/whitelist-iframe-from-facebook-not-show/66260)._
