How can I use the data URI in internet explorer as a URL?

后端 未结 2 1840
野的像风
野的像风 2021-01-20 00:43

The code I\'m trying to use is

data:text/html,


        
2条回答
  •  孤街浪徒
    2021-01-20 01:11

    You can try using the javascript engine to create a similar execution.


    From the URL bar:

    javascript:window.document.write('');
    

    If you copy and paste you will need to manually type javascript: in front of it since the browser trims that part of on paste.


    If you want to execute a new window as an editor then try this:

    
    

    Check out this jsFiddle example

提交回复
热议问题