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

%3CLINGO-SUB%20id%3D%22lingo-sub-1700606%22%20slang%3D%22ja-JP%22%3ESome%20JSs%20are%20not%20available%20when%20IE%20mode%20pages%20are%20opened%20in%20APP%20mode%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1700606%22%20slang%3D%22ja-JP%22%3E%3CP%3EWhen%20you%20open%20a%20page%20in%20IE%20mode%20in%20APP%20mode%20(with%20the%20start-up%20argument%20%E3%80%81--app_xxx%2C)%20some%20JSs%20such%20as%20resizeBy%20and%20moveTo%20are%20not%20available.%3C%2FP%3E%3CP%3EFor%20IE%20mode%20only%20and%20APP%20mode%20only%2C%20resizeBy%20and%20moveTo%20were%20available.%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20to%20move%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1710388%22%20slang%3D%22en-US%22%3ERe%3A%20IE%E3%83%A2%E3%83%BC%E3%83%89%E3%81%AE%E3%83%9A%E3%83%BC%E3%82%B8%E3%82%92APP%E3%83%A2%E3%83%BC%E3%83%89%E3%81%A7%E9%96%8B%E3%81%8F%E3%81%A8%E4%B8%80%E9%83%A8%E3%81%AEJS%E3%81%8C%E4%BD%BF%E7%94%A8%E3%81%A7%E3%81%8D%E3%81%AA%E3%81%84%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1710388%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F804540%22%20target%3D%22_blank%22%3E%40ikuno%3C%2FA%3E%26nbsp%3BHello%20-%20Thanks%20for%20your%20question!%26nbsp%3B%20The%20team%20was%20discussing%20and%20based%20upon%20the%20information%20provided%2C%20it%20appears%20the%20scenario%20combines%20the%20modern%20feature%20of%20App%20Mode%20with%20the%20legacy%20feature%20of%20IE%20Mode.%26nbsp%3B%20We%20are%20hoping%20to%20better%20understand%20the%20scenario.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAre%20you%20able%20to%20explain%20the%20scenario%20further%3F%26nbsp%3B%20Can%20you%20provide%20additional%20details%20or%20specific%20examples%3F%26nbsp%3B%20Are%20there%20a%20large%20number%20of%20users%20impacted%20by%20this%3F%26nbsp%3B%20Thanks!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3E-Kelly%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1718650%22%20slang%3D%22ja-JP%22%3ERe%3A%20Some%20JSs%20are%20not%20available%20when%20IE%20mode%20pages%20are%20opened%20in%20APP%20mode%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1718650%22%20slang%3D%22ja-JP%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F757644%22%20target%3D%22_blank%22%3E%40Kelly_Y%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20confirmation.%3C%2FP%3E%3CP%3EFor%20version%20and%20configuration%20information%20such%20as%20%3CA%20href%3D%22edge%3A%2F%2Fcompat%2Fiediagnostic%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EEdge%2C%20please%3C%2FA%3E%20check%20the%20edge%3A%2F%2Fcompat%2Fiediagnostic%20information%20in%20the%20attachment.%3C%2FP%3E%3CP%3EThe%20screen%20capture%20of%20the%20HTML%20and%20the%20occurrence%20procedure%20used%20in%20the%20test%20is%20also%20described%20on%20a%20separate%20sheet.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20is%20a%20WEB%20application%20that%20I%20manage%2C%20but%20it%20works%20only%20in%20IE.%3C%2FP%3E%3CP%3EIn%20order%20to%20end%20IE%20support%2C%20we%20have%20confirmed%20the%20operation%20in%20IE%20mode%20of%20Edge%2C%20but%20some%20JS%20(moveTo%2C%20etc.)%20did%20not%20work%2C%20so%20I%20asked%20the%20community.%3C%2FP%3E%3CP%3EIf%20there%20is%20a%20workaround%2C%20I%20want%20information.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fja-jp%2Fdeployedge%2Fedge-ie-mode-sitelist%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fja-jp%2Fdeployedge%2Fedge-ie-mode-sitelist%3C%2FA%3E%3C%2FP%3E%3CP%3EI%20was%20able%20to%20confirm%20the%20operation%20in%20IE%20mode%20by%20referring%20to%20the%20page%20such%20as.%3C%2FP%3E%3CP%3EIn%20the%20case%20of%20IE%2C%20you%20can%20windaw.open%20by%20hiding%20the%20address%20bar%2C%20etc.%2C%20but%20since%20it%20is%20not%20possible%20in%20the%20case%20of%20Edge%2C%20I%20was%20thinking%20of%20using%20the%20app%20mode%20and%20migrating%20without%20changing%20the%20display%20area.%3C%2FP%3E%3CP%3EApp%20mode%20creates%20a%20shortcut%20and%20opens%20a%20window%20without%20an%20address%20bar%20by%20using%20the%20link-to%20%22C%3A%2FProgram%20Files%20(x86)%2FMicrosoft%2FEdge%2FApplication%2Fmsedge.exe%22%20--profile-directory-Default%20--app%3C%2FP%3E%3CP%3EIt%20has%20become%20the%20same%20movement%20even%20when%20executed%20in%20the%20procedure%20of%20%22Install%20as%20an%20app%22%20from%20the%20edge%20menu%2C%20but%20in%20this%20case%2C%20in%20order%20to%20be%20displayed%20as%20%22no%20security%22%20in%20the%20upper%20part%20of%20the%20window%20%E3%80%81--app-%20http%3A%2F%2Fxxx%2FtestPage.html%20It%20is%20running.%20(In%20the%20case%20of%20installation%20as%20an%20app%20--app-id%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1722190%22%20slang%3D%22en-US%22%3ERe%3A%20IE%E3%83%A2%E3%83%BC%E3%83%89%E3%81%AE%E3%83%9A%E3%83%BC%E3%82%B8%E3%82%92APP%E3%83%A2%E3%83%BC%E3%83%89%E3%81%A7%E9%96%8B%E3%81%8F%E3%81%A8%E4%B8%80%E9%83%A8%E3%81%AEJS%E3%81%8C%E4%BD%BF%E7%94%A8%E3%81%A7%E3%81%8D%E3%81%AA%E3%81%84%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1722190%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F804540%22%20target%3D%22_blank%22%3E%40ikuno%3C%2FA%3E%26nbsp%3BThanks%20for%20the%20detailed%20information!%26nbsp%3B%20We%20currently%20do%20not%20have%20plans%20to%20make%20any%20changes%20to%20the%20behavior%20but%20we%20will%20keep%20gathering%20feedback.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20team%20has%20offered%20a%20couple%20of%20suggestions%20as%20possible%20workarounds%20which%20do%20not%20utilize%20App%20Mode.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ECreate%20a%20traditional%20shortcut%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3COL%3E%0A%3CLI%3EEnsure%20MS%20Edge%20is%20the%20default%20browser%3C%2FLI%3E%0A%3CLI%3ERight%20click%20on%20your%20Windows%20desktop-%26gt%3BNew-%26gt%3BShortcut%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Kelly_Y_0-1601325542356.jpeg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F222657i8A724CFE14D8E07E%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Kelly_Y_0-1601325542356.jpeg%22%20alt%3D%22Kelly_Y_0-1601325542356.jpeg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E3.%20Type%20in%20the%20full%20URL%20you%E2%80%99d%20like%2C%20eg.%20%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fwww.bing.com%252F%26amp%3Bdata%3D02%257C01%257Cv-keyoko%2540microsoft.com%257Cf3568dde90114ce0c33b08d863e32489%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637369174509331481%26amp%3Bsdata%3DRlGpc2uRMcFtn2tnvuohpAMNHhv7vUNujcvkj7GgSNg%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.bing.com%3C%2FA%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E4.%20Type%20the%20name%20you%E2%80%99d%20like%20the%20shortcut%20to%20have.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E5.%20%5Boptional%5D%20Drag%20the%20shortcut%20onto%20the%20taskbar.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EIn%20this%20case%2C%20there%20will%20be%20an%20address%20bar%20and%20it%20will%20just%20launch%20the%20normal%20MS%20Edge%20that%20is%20found%20with%20all%20the%20other%20MS%20Edge%20windows%20on%20the%20taskbar.%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EPin%20to%20taskbar%20in%20MS%20Edge%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3COL%3E%0A%3CLI%3EOpen%20MS%20Edge%3C%2FLI%3E%0A%3CLI%3EClick%20the%20%22...%22%26nbsp%3B%20in%20the%20upper%20right%20corner%20to%20open%20the%20Settings%20menu%3C%2FLI%3E%0A%3CLI%3EClick%20on%20%22More%20tools%22%3C%2FLI%3E%0A%3CLI%3EClick%20on%20%22Pin%20to%20taskbar%22%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Kelly_Y_1-1601326010046.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F222658i09193C39FE70E415%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Kelly_Y_1-1601326010046.png%22%20alt%3D%22Kelly_Y_1-1601326010046.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3E-Kelly%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1722751%22%20slang%3D%22ja-JP%22%3ERe%3A%20Some%20JSs%20are%20not%20available%20when%20IE%20mode%20pages%20are%20opened%20in%20APP%20mode%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1722751%22%20slang%3D%22ja-JP%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F757644%22%20target%3D%22_blank%22%3E%40Kelly_Y%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20answer.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20I%20want%20to%20achieve%20is%20not%20to%20create%20a%20shortcut.%3C%2FP%3E%3CP%3EHow%20to%20display%20a%20window%20that%20does%20not%20have%20an%20address%20bar.%3C%2FP%3E%3CP%3EIs%20there%20a%20function%20to%20display%20without%20the%20address%20bar%20outside%20of%20the%20app%20mode%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

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

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

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

 

7 Replies

@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

@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=~~~)

@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

Kelly_Y_0-1601325542356.jpeg

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_Y_1-1601326010046.png

 

-Kelly

@Kelly_Y 

回答ありがとうございます。

 

私が実現したいのは、ショートカットを作成する事ではなく、

アドレスバーがないウィンドウを表示する方法です。

アプリモード以外でアドレスバーなしで表示する機能はありませんか?

 

@ikuno Hello - For MS Edge, it is possible to remove the address bar by entering Full Screen Mode.  To enter and exit Full Screen Mode, press F11.  

 

Were you able to remove the Address Bar in IE11?  Can you share how you were able to do that?  I would like to pass this information on to the team.  Thanks! 

 

-Kelly

@Kelly_Y 

フルスクリーンではなく、ウィンドウの状態でアドレスバーを表示させない方法はありませんか?

 

IEでアドレスバーのないウィンドウを開く方法に関して、添付ファイルをご確認ください。

Javascriptでwindow.openで開く際に、パラメータを指定することが出来ます。

●アドレスバーあり

window.open( "./testPage2.html", 'Window', "width=200, height=200, menubar=yes, toolbar=yes, location=yes, status=yes, resizable=yes" ) ;

●アドレスバーなし

window.open( "./testPage2.html", 'Window', "width=200, height=200, menubar=no, toolbar=no, location=no, status=no, resizable=no" ) ;

 

インターネットオプションの設定が必要かもしれません。

ご確認お願い致します。

@ikuno Thank you for the information!  I have passed it on to our team.  Microsoft Edge currently does not support this behavior and it is not on our roadmap.  We will keep gathering feedback and we appreciate your input!  

 

-Kelly