# 🆕 \[NEW PLUGIN\] iFrame & Embed Detector

**URL:** <https://forum.bubble.io/t/new-plugin-iframe-embed-detector/128014>\
**Category:** Showcase\
**Created:** [December 30, 2020, 9:04am UTC](https://forum.bubble.io/t/new-plugin-iframe-embed-detector/128014 "2020-12-30T09:04:25Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![vnihoul77](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/vnihoul77/32/241345_2.png) [@vnihoul77](https://forum.bubble.io/u/vnihoul77)\
**Post date:** [December 30, 2020, 9:04am UTC](https://forum.bubble.io/t/new-plugin-iframe-embed-detector/128014/1 "2020-12-30T09:04:25Z")

</div>

* * *

## ![iFrame](https://us1.discourse-cdn.com/bubble/original/3X/8/e/8e4b12d4dca49f520c86ed78271672bddff88350.jpeg) **iFrame & Embed Detector**

* * *

Hi there!  
We just release this new plugin to the Bubble marketplace 🎅 !

The plugin offers these functionalities:

➡ Trigger an event if the page is embedded or not  
➡ Expose a state that indicates if the page is embedded  
➡ Expose a state that indicates the URL of the parent page that displays your page

This plugin offers nice use cases such as blocking pages from unauthorized sources!

* * *

💲The plugin is available for $2/month or $7 for a lifetime license.

📘 We offer full documentation with the plugin and forum support.

## LINKS

* * *

🔗 Plugin page: [https://bubble.io/plugin/embed–iframe-dete…](https://bubble.io/plugin/embed--iframe-detector-+-url-1609169859166x194880381620060160)  
🔗 Our shop page: [https://app.ottho.tools/nos-plugin…](https://app.ottho.tools/nos-plugins?parrain=vnihoul77)

🔗 Demo app: [https://plugin-demo-iframe.bubbleapps…](https://plugin-demo-iframe.bubbleapps.io/version-test?)  
🔗 Demo editor: [https://bubble.io/page?name=index&id…](https://bubble.io/page?name=index&id=plugin-demo-iframe&test_plugin=1609169859166x194880381620060160_current&tab=tabs-1)

🔗 Documentation: [https://www.notion.so/Embed-iFrame-Detector-…](https://www.notion.so/Embed-iFrame-Detector-f1cc4f5e8d7e433d922e3ba995d16f77)

## 🎁 WIN IT

The first 3 people to suggest an improvement track will have a free lifetime license!

* * *

This plugin is made by the French platform [Ottho](https://app.ottho.tools/?parrain=vnihoul77).

[![ottho](https://us1.discourse-cdn.com/bubble/original/3X/9/d/9d2c3da7243c7d86ddcf41ed7d1b48c69a49fd96.png)](https://app.ottho.tools/?parrain=vnihoul77)

---

<div class="post-metadata">

**Author:** ![johnny](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/johnny/32/203020_2.png) [@johnny](https://forum.bubble.io/u/johnny)\
**Post date:** [December 30, 2020, 10:37am UTC](https://forum.bubble.io/t/new-plugin-iframe-embed-detector/128014/2 "2020-12-30T10:37:27Z")

</div>

Is there a way to block individuals from iFrameing? If not, maybe that’s a suggestion?

---

<div class="post-metadata">

**Author:** ![vnihoul77](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/vnihoul77/32/241345_2.png) [@vnihoul77](https://forum.bubble.io/u/vnihoul77)\
**Post date:** [December 31, 2020, 11:04am UTC](https://forum.bubble.io/t/new-plugin-iframe-embed-detector/128014/3 "2020-12-31T11:04:11Z")

</div>

Hi @johnny No really a feature to block iFraming but the plugin can be used for that. You can, for instance, put on condition on your groups to not show or redirect the user if the page is rendered in an iFrame 🙂

---

<div class="post-metadata">

**Author:** ![ZubairLK](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/zubairlk/32/53301_2.png) [@ZubairLK](https://forum.bubble.io/u/ZubairLK)\
**Post date:** [November 25, 2021, 2:11pm UTC](https://forum.bubble.io/t/new-plugin-iframe-embed-detector/128014/4 "2021-11-25T14:11:34Z")

</div>

Hi

Nice plugin.

It does not seem to be working with the new responsive engine engine.

Any plans on updating it?

Thanks  
ZubairLK

---

<div class="post-metadata">

**Author:** ![vnihoul77](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/vnihoul77/32/241345_2.png) [@vnihoul77](https://forum.bubble.io/u/vnihoul77)\
**Post date:** [November 25, 2021, 5:15pm UTC](https://forum.bubble.io/t/new-plugin-iframe-embed-detector/128014/5 "2021-11-25T17:15:34Z")

</div>

Hey @ZubairLK

What’s the issue?

---

<div class="post-metadata">

**Author:** ![ZubairLK](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/zubairlk/32/53301_2.png) [@ZubairLK](https://forum.bubble.io/u/ZubairLK)\
**Post date:** [November 26, 2021, 2:09pm UTC](https://forum.bubble.io/t/new-plugin-iframe-embed-detector/128014/6 "2021-11-26T14:09:59Z")

</div>

The parent url is the app’s own domain/url and not the actual parent that is iframing url

---

<div class="post-metadata">

**Author:** ![vnihoul77](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/vnihoul77/32/241345_2.png) [@vnihoul77](https://forum.bubble.io/u/vnihoul77)\
**Post date:** [November 27, 2021, 4:04pm UTC](https://forum.bubble.io/t/new-plugin-iframe-embed-detector/128014/7 "2021-11-27T16:04:12Z")

</div>

Curious bug, I’ll look into it before next week 👍🏼

---

<div class="post-metadata">

**Author:** ![alan.thomas111997](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@alan.thomas111997](https://forum.bubble.io/u/alan.thomas111997)\
**Post date:** [June 22, 2022, 8:31am UTC](https://forum.bubble.io/t/new-plugin-iframe-embed-detector/128014/8 "2022-06-22T08:31:11Z")

</div>

Hi @vnihoul77 , plugin doesn’t seem to be picking right parent url in Shopify. It is not picking the path

 ![Screenshot 2022-06-22 at 1.56.02 PM](https://us1.discourse-cdn.com/bubble/original/3X/a/1/a1eb969911213746548be0a0c9991cb487526fc4.jpeg)

---

<div class="post-metadata">

**Author:** ![vnihoul77](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/vnihoul77/32/241345_2.png) [@vnihoul77](https://forum.bubble.io/u/vnihoul77)\
**Post date:** [June 23, 2022, 7:31am UTC](https://forum.bubble.io/t/new-plugin-iframe-embed-detector/128014/9 "2022-06-23T07:31:08Z")

</div>

Hey @alan.thomas111997  
As stated in the documentation, in most cases the plugin can only retrieve the parent **host** URL, and not the full URL.

This is because of browser-based restrictions: [Referrer-Policy - HTTP | MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy)

☹

---

<div class="post-metadata">

**Author:** ![alan.thomas111997](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@alan.thomas111997](https://forum.bubble.io/u/alan.thomas111997)\
**Post date:** [June 23, 2022, 7:39am UTC](https://forum.bubble.io/t/new-plugin-iframe-embed-detector/128014/10 "2022-06-23T07:39:36Z")

</div>

My bad, I missed this. Thanks for sharing @vnihoul77 .
