Forum Discussion

ikuno's avatar
ikuno
Copper Contributor
Sep 23, 2020

IEモードのページをAPPモードで開くと一部のJSが使用できない

IEモードのページをAPPモード(起動引数で、--APP=xxx~~を指定)で開くと、resizeByやmoveTo等の一部のJSが使用できません。

IEモードのみ、APPモードのみの場合は、resizeByやmoveToは使用可能でした。

動かす方法はありますか?

 

8 Replies

  • TMinakami's avatar
    TMinakami
    Copper Contributor

    ikuno 

    細かいバージョンまでは確認できておりませんが「103.0.1264.37」のアップデートを適用すれば、APPモードにおいても moveTo,resizeTo が動作するようです。

     

    2022/6/27現在、公式blogでもまだ情報公開されていません。

    https://jpdsi.github.io/blog/internet-explorer-microsoft-edge/ie-mode-faq/

  • ikuno Hello - Thanks for your question!  The team was discussing and based upon the information provided, it appears the scenario combines the modern feature of App Mode with the legacy feature of IE Mode.  We are hoping to better understand the scenario. 

     

    Are you able to explain the scenario further?  Can you provide additional details or specific examples?  Are there a large number of users impacted by this?  Thanks!

     

    -Kelly

    • ikuno's avatar
      ikuno
      Copper Contributor

      Kelly_Y 

      確認ありがとうございます。

      Edgeなどのバージョンや設定情報に関しては、添付ファイルにedge://compat/iediagnosticの情報を記載しておりますので、ご確認ください。

      テストで使用しているHTMLや発生手順の画面キャプチャも別シートに記載をしております。

       

      管理しているWEBアプリケーションがあるのですが、IEでのみ動作しております。

      IEのサポートが終了する為、EdgeのIEモードでの動作確認を行っておりますが、一部JS(moveTo等)が動かなかった為、コミュニティに質問しました。

      回避方法などあったら、情報が欲しいです。

       

      https://docs.microsoft.com/ja-jp/deployedge/edge-ie-mode-sitelist

      等のページを参考にIEモードでの動作は確認できました。

      IEの場合、アドレスバー等を非表示にしてwindow.openできますが、Edgeの場合出来ないので、アプリモードを使用し、表示領域を変えることなく移行をすることを考えておりました。

      アプリモードは、ショートカットを作成し、リンク先に"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --profile-directory=Default --app=http://xxx/testPage.htmlを指定して起動)を使用して、アドレスバーのないウィンドウを開いております。

      Edgeのメニューから「アプリとしてインストール」の手順で実行した場合でも同様の動きになっておりますが、こちらの場合、ウィンドウ上部に「セキュリティ保護なし」等の表示がされてしまう為、--app=http://xxx/testPage.htmlを指定して実行しております。(アプリとしてインストールの場合は--app-id=~~~)

      • Kelly_Y's avatar
        Kelly_Y
        Icon for Microsoft rankMicrosoft

        ikuno Thanks for the detailed information!  We currently do not have plans to make any changes to the behavior but we will keep gathering feedback.  

         

        The team has offered a couple of suggestions as possible workarounds which do not utilize App Mode.  

         

        • Create a traditional shortcut:
        1. Ensure MS Edge is the default browser
        2. Right click on your Windows desktop->New->Shortcut

        3. Type in the full URL you’d like, eg. https://www.bing.com

        4. Type the name you’d like the shortcut to have.

        5. [optional] Drag the shortcut onto the taskbar.

         

        In this case, there will be an address bar and it will just launch the normal MS Edge that is found with all the other MS Edge windows on the taskbar. 

         

        • Pin to taskbar in MS Edge:
        1. Open MS Edge
        2. Click the "..."  in the upper right corner to open the Settings menu
        3. Click on "More tools"
        4. Click on "Pin to taskbar"

         

        -Kelly

Resources