# Embeding FunnyOrDie link forces browser to redirect to FunnyOrDie.com

**URL:** <https://meta.discourse.org/t/embeding-funnyordie-link-forces-browser-to-redirect-to-funnyordie-com/58500>\
**Category:** Bug\
**Created:** [2017 年3 月 6 日 21:52 UTC](https://meta.discourse.org/t/embeding-funnyordie-link-forces-browser-to-redirect-to-funnyordie-com/58500 "2017-03-06T21:52:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
发布日期： [2017 年3 月 6 日 22:56 UTC](https://meta.discourse.org/t/embeding-funnyordie-link-forces-browser-to-redirect-to-funnyordie-com/58500/4 "2017-03-06T22:56:41Z")

</div>

Shouldn’t the onebox [iframe use the `sandbox` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox) to disallow redirects? I think omitting `allow-top-navigation` from the value of `sandbox` should work…

---

_[View the full topic](https://meta.discourse.org/t/embeding-funnyordie-link-forces-browser-to-redirect-to-funnyordie-com/58500)._
