javascriptinternet-explorer-11microsoft-edgebookmarklet

Simple JavaScript Bookmarklet not working on EDGE compatibility mode ie11


I am trying to run the following JavaScript as a test on a website / webapp*.

javascript: {window.alert("Hello World")}

*This website / webapp forces the EDGE browser to run on IE11 compatibility mode.

But am getting an error (translated to english) :

"No Access to Website: Make sure that the Webadress //ieframe.dll/dnserror.htm?ErrorStatus=0x8007005# is correct".

The JS Code is now visible in the url section, so I assume the above error has not much to do with the actual problem.

Tried it on Chrome and IE11 (native) and they both work with the mentioned website / webapp.

Is there a way to make it work on EDGE compatibility mode IE11?

Thanks for your help! KR Joe


Solution

  • I think you can't make bookmarklet work in Edge IE mode as IE mode doesn't support Internet Explorer toolbars.

    enter image description here

    From the image above, you can see that Favorites bar belongs to IE toolbars so you can't use it in Edge IE mode.

    If you really need this feature in Edge IE mode, I suggest that you can provide feedback to Edge team by pressing Alt+Shift+I in Edge browser. Edge team will check the feedbacks and improve the product continuously.