# kintoneアプリ上でwebブラウジング

**URL:** <https://community.cybozu.dev/t/topic/2996>\
**Category:** kintone 開発相談\
**Created:** [2018 年 4 月 16 日午前 8:22 UTC](https://community.cybozu.dev/t/topic/2996 "2018-04-16T08:22:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Legacy\_Account685](https://avatars.discourse-cdn.com/v4/letter/l/45deac/32.png) [@Legacy\_Account685](https://community.cybozu.dev/u/Legacy_Account685)\
**Post date:** [2018 年 4 月 16 日午前 8:22 UTC](https://community.cybozu.dev/t/topic/2996/1 "2018-04-16T08:22:03Z")

</div>

kintoneのリンクフィールド等を使用して、自社webページのブラウジングすることはできないのでしょうか？

具体的なイメージは、プラグインの「Box for kintone」にてBoxのリンクをブラウジング操作できると思いますが、そのような形で自社のWebページをブラウジングさせたいです。

&nbsp;

---

<div class="post-metadata">

**Author:** ![Legacy\_Account1740](https://avatars.discourse-cdn.com/v4/letter/l/ed8c4c/32.png) [@Legacy\_Account1740](https://community.cybozu.dev/u/Legacy_Account1740)\
**Post date:** [2018 年 4 月 17 日午前 7:14 UTC](https://community.cybozu.dev/t/topic/2996/2 "2018-04-17T07:14:09Z")

</div>

mk様

お世話になっております。 cstapの江田と申します。

JavaScriptカスタマイズを用いて、ページに[iframe](https://developer.mozilla.org/ja/docs/Web/HTML/Element/iframe)要素を埋め込むことで実装できるかと思います。

```
(function(){"use strict";kintone.events.on(['app.record.create.show','app.record.edit.show'],function(event){variframe=document.createElement('iframe');iframe.setAttribute('src','https://cybozu.co.jp/');// URL指定document.getElementById('record-gaia').appendChild(iframe);});})();

```

---

<div class="post-metadata">

**Author:** ![Legacy\_Account685](https://avatars.discourse-cdn.com/v4/letter/l/45deac/32.png) [@Legacy\_Account685](https://community.cybozu.dev/u/Legacy_Account685)\
**Post date:** [2018 年 4 月 18 日午前 1:03 UTC](https://community.cybozu.dev/t/topic/2996/3 "2018-04-18T01:03:00Z")

</div>

コメントありがとうございます。

iframe要素を埋め込むことによりブラウジングが可能となりました。

しかし、次の問題が発生しました。

自社ページからBoxへ飛ばす仕組みがあるのですが、iframeにて埋め込んだものですとBoxにログインすると真っ白になってしまいます。

これは、Box側の問題かもしれませんので、最初の質問に対しては、江田様より回答いただいた内容で解決しました。

ありがとうございます。
